I’m relatively sure that at least in Germany the environmental movement had a lot of influence preventing the aggressive pursuit of nuclear power. Your point about subsidies still stands of course, but economics of power generation notoriously ignore the costs of climate change.