Actually, you sort of do. Its not magic, its just well established technology.
DC is converted to AC (and vice versa as needed) all the time. This is how many, many countries have already integrated renewables into their grids. There is a small loss when you do so, but afterwards, it "meshes"...