The space between the Earth and the moon is infintessimally small compared to the distance between galaxies, you could never see it at such scales.
As for the energy required and work done, you are trying to apply the rules of physics that operate within our Universe to the Universe as a whole and that is not necessarilly valid.
For example in the Early Inflationary period the rate of the Universe's expansion was greater than the speed of light.
The rules inside the Universe are not necessarilly the same for the Universe itself