It's not the Chevron plant that was burning.
Horrible, toxic fires are not exclusive to batteries. I have personally lived through two horrible gas-based fires, which is anecdotal. However, there are tons of examples.
This current fire is a disaster, yes. And it should be investigated rigorously. And we should learn from it, and if willful negligence was involved, prosecute accordingly.
I guess it depends on the risk of an exploding flywheel, but batteries seem likely to fail in a much less explosive manner as opposed to a failed flywheel.