As I noted, this is only going to work when the batteries are as cross-vehicle as current gasoline pump nozzles. And I would wager that this implies government action (or at least, the threat of government action) to bring about.
It's not useless to do it on a smaller scale, but ultimately until you can just drive into what used to be just a gas station, put your car over the designated spots and in 20 seconds your battery is swapped out, then its still not a serious replacement for oil-derived liquid fuels.
Nio does this with their EVs:
https://insideevs.com/news/426014/nio-power-battery-swaps-50...
https://www.topgear.com/car-news/big-reads/power-shift-batte...
The idea is the easily replaceable pack gives you the option to charge, swap, or upgrade the battery as you like.