Europe’s industrial powerhouse Germany is transforming its energy supply by switching to renewable sources.