You can bury the air tanks too and avoid most of the danger, but that's expensive and makes them harder to maintain. The big advantage of flywheels is that when they fail you know the energy will be discharged in a particular plane. You can orient them such that nothing vital is in that plane (like your house!). With compressed air all bets are off.