Maybe in a simple model of capitalism.
> Of course for the energy sector there are lots of ideological, environmental and political concerns that need to be dealt with for things to actually happen.
Example: no one invests in a nuclear power plant - unless the state insures the thing, finances (incl. all the costs that come from technological and construction problems) the thing all through from inception to research to design to construction to bringing it online AND (!!!!!) creates the economic conditions for profits to be made (like dictating prices, reducing competition, financing all costly technological and construction risks, providing cheap infrastructure, ...). -> Example: currently the UK.
The energy sector it's very different from selling beans to consumers.
> France could just build the alternatives
But it hasn't. France has built nuclear for many reasons - for example France is a country with nuclear weapons and thus has an interest in nuclear technology. There is also an ideological trend to large state-driven/owned technologies.
Now France is looking to expand its share of renewables - while at the same time trying to find hundreds of billions for their reactor fleet.
> After all, the state foots the bill either way, unlike a private company that can just go bankrupt and not clean up their mess.
That's not how it works in the energy landscape. Check out TEPCO. The Japanese state does not let it die.
> None of the countries that really matter (have a significant share in CO2 emmissions) are.
You are shifting the goal post all the time. If enough countries do it (for example in the EU), then it matters.