Earlier quoted context omitted.
If you look at the energy density, cost/kwh, and lifetime maintenance of most of those, you'll find that batteries handily win. Further, batteries have room for innovation and growth in all those categories. We won't, for example, make a more cost-efficient flywheel or heat storage. They are effectively as efficient as they'll ever be. IMO, it necessarily has to be batteries. The other alternatives are nowhere near a…
On the other hand, you need to buy a new set of batteries every 15 or so years. The other things you mentioned generally don't need regular replacement, and when they do, it's not the whole setup.
You also don't technically need new batteries almost ever. Batteries (typically) don't really die, they just lose capacity. After a 15 year runtime instead of storing 10mWh they now store 7mWh. That's still 7mWh. After another 15 years it'll be down to around 5mWh.