Easy. Have nuclear power plants operate as government run and backed corporations (what we’d call a “Crown Corporation” here in Canada).
That way you can mandate safety and uptime as metrics over profit. It may be less efficient from an economic standpoint (overall cost might be higher), but you also don’t wind up with the nuclear version of Love Canal.
If the Soviets hadn’t cut corners and Chernobyl hadn’t happened in this first place, this is likely where we would already be.