@chris Not free; society paid for that transition through previous energy rates, taxes, or some other mechanism.
BUT that's the best part of the story, truly - it demonstrates that whole-of-society level change to energy production and distribution is possible, and happening.