To be fair, Germany economy was already fucked, but the energy transition is accelerating the inevitable. Germany is the last of the industry-based economies in Europe and this while simultaneously being the country with the highest energy prices. That situation was never going to last. The energy prices will remain high for many decades even if a successful energy transition might bring them down eventually, so industry has been relocating outside of the country anyway. The transition to EVs has only made matters worse. A lot of German industry is being made redundant. And Germany in 2023 is still skeptical of the digital age and a service based economy. So yeah, the future is not bright either way.
But what the government is doing is partly ideology based and partly, I believe, the personal ambition of the economy minister himself. I think the American approach is much more sane and they will probably still end up being the global leaders of green energy tech.