The Oroville Dam in California had a failoure in 2017 leading to the evacuation of 188,000 people. Who paid for that? See for example [0], were a very low estimate ends up around 1 billion with the Federal Emergency Management Agency expecting to pay around 75% of that. Who and what funds that department?
When a company files for bankruptcy the result is a legal process where the company seeks relief from debt. PG&E caused California second biggest wild fire named "Camp Fire" which destroyed 1,329 structures, and burned 963,309 acres, with an estimated cost of $16bn. The next year they caused a second wild fire, and yes they did get sued for that. They are estimated to have caused over 40 wild fires.
In the bankruptcy filing that got accepted by the judge they might be paying $13.5 billion for all of the wildfires, with half of that being paid as "stocks" in the company (for how much that is worth). All the remaining costs of the wildfires will be carried by the victims. Since September 30 this year the total amount PG&E has actually paid is $5.08 billions.
If one of Californias nulcear power plant would explode tomorrow with the effect of 40 wild fires then the result would be identical to PG&E. They would be sued, they would file for bankruptcy, and then a portion of the true costs will be paid out. That is reality regardless of what you thought it was.
[0]: https://www.sacbee.com/news/local/article165448747.html