You cannot burn CDs on Xbox One. The console has a Blu-ray drive (read-only), no burner. It's not a PC.
Xbox/Music (or any).Press Xbox Button → Audio & Music → Background Music → Select source (Spotify, Media Player, etc.). Works in most games.
No CD burning hardware exists on any console. Do it on a computer.