You seem to be sharing a problem that Archimedes encountered: a lever long enough plus a fulcrum. Fortunately I can help you in that matter. The first thing to bear in mind is that we have long been storing the energy you describe in the kinetic and potential energy of the Earth-moon system. Our days are being lengthened by tidal forces that have been driving the moon into an ever-widening orbit at the expense of Earth’s angular momentum.
Now, all we need do, is to install rope from both poles to the moon (using just one pole would cause destructive precession, and we must be practical about the design of these systems). Then we use the momentum of the moon to drive dynamos large enough to supply the entire planet’s electricity from the tension in those ropes; there should be plenty.
The energy we harvest would be sustainable for billions of years because it would reduce the moon’s orbit, increasing its orbital velocity and increasing its tidal force with the inverse FOURTH power of its orbital radius!
And it gets better! As the moon comes closer, our oceanic tides will increase drastically, in turn widening the orbit. We could harness the tides in their turn to drive our dynamos, for a long, long time. In fact we could continue till the orbit of the moon matched the planetary day length.
By that time we should be a billion or so years on, and it would be high time to abandon our planet anyway, because our sun would be getting into its red giant phase, ready to swallow our inner planets, probably including our planet. By then however, tectonic activity probably would have swallowed the great pyramid of Giza, Hollywood, and Graceland, so there would be nothing for us to stay back for.
Exactly HOW to leave our planet, and probably our solar system as well is another matter; but if we couldn’t manage it, we would deserve to broil. A more relevant question would be: what would we be by then?
Would we even care?
Stick around and see.
Jon