Storing battery-tier volumes of energy in spinning flywheels sounds terrifying on scale - a cursory search indicates 1kWh ~ 1 KG of TNT.
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.
Typical flywheel energy storage relies on enormous mass rather than high rotational speed. I don't think that flywheel storage is necessarily hazardous.
My thought was that a failed flywheel would be locally catastrophic but as long as you are not building homes right next to them, it would be safe for the surrounding community and not inconvenience or put civilians danger.