You're free to invest in nuclear power for that purpose if you want.
Microsoft is investing in nuclear power to run their AI projects. They likely wouldn't be investing in nuclear power if they didn't have projects that needed it like this.
And the U.S. government wouldn't have invested in all of the development that went into the Apollo program if they didn't want to beat the Russians, but we still all benefitted from the science and the research and the development.
Nuclear power still requires huge front costs (goal of SMR is to reduce that, but first generations will not solve it), so it could be better to use them for every day life needs rather than a prospective commercial venture.
Only if there's a meltdown, and that's near-impossible with current reactor designs. Just don't build in very disaster-prone areas like Florida or Japan.
I doubt the people running the country are worried about a "scary AI saving the planet." Their main concern is ignorant masses of voters who are scared of it.