That would take a lawsuit or a powerful battery manufacturing consortium to create a standard and convince DeWalt, Ryobi, Makita, etc. of the value.
Right now vendor lock in to batteries (that have no guarantee of being available in 4 years when the battery inevitably dies) just makes too much money.
There is actually a consortium like this, but unfortunately most of the brands involved are pretty niche. The only two I'd ever buy from it are Mafell and Metabo.
Wow it's awesome Metabo and Mafell use the same battery. I'll probably buy some Metabo cordless tools just because of this comment. (Been planning on upgrading some corded tools.)