That is not true. Germany shutting down their atomic power plants had a rippling effect on the energy market in whole EU because they thought renewables would be enough to power the German industries. It was criticised by even the Sweden's Minister for Energy (Ebba Busch).
Right now Germany is being de-industrialised because it's far expensive for the industries to produce goods there compared to other EU countries and those companies are moving out. That's the price Germany is paying right now for betting on renewables without any investment on infrastructure or a proper migration plan and blind political guidance.
Even the EU has rare earth minerals, do you really thing the climate activists, nature conservation activists and all other far lefties would actually allow mining those minerals in EU?