Swiggys-back, the transition to renewable energy that you envision cannot happen, because solar modules do not ever make as much power as it took to manufacture them; the "energy balance" is profoundly negative, anywhere from 8x to 40x. If you don't believe me, will you believe Elon Musk? The quote is real, the article is real, please go read it:
“Sometimes the solar roof is positioned as sort of a competitor to utilities, but we’re actually going to need utility power to increase and we’re going to need local power generation. Because if you transition all energy to electric, that roughly triples the amount of electricity that is needed.” - Elon Musk
http://www.powermag.com/elon-musk-the-future-is-bright-for-utilities/