There was a time where gasoline brands mattered, and the gas you got from Esso might have been slightly different than the gas from Sinclair or Hess or whatever, but that was intentionally regulated into irrelevance because the benefit to consumers of a consistent product was more valuable than allowing brands to differentiate themselves.
It took several decades after the widespread adoption of the car (and gasoline as the dominant fuel) for this to happen, and during this time users had to struggle with varying fuels produced from different feedstocks, gumming of engines, dilution of crankcase oil, etc. (This is referred to in period motoring publications as "the Fuel Problem".) The automobile industries and the oil industries basically pointed fingers at each other until the US Bureau of Standards had to step in and mediate on a consistent set of standards that the refiners would produce fuel to, and the engine manufacturers would design their engines against. If this hadn't happened, and the market had been left to sort it out, I suspect you would have ended up having to fill your Ford car only at Sinclair stations, based on some Ford/Sinclair arrangement or whatever.
Unfortunately the 'solution' to the Fuel Problem in the 30s involved the introduction of tetraethyl lead, which mars what would have been a good example of mutually beneficial public-private cooperation and useful regulation.
Sure, I put 87 octane in our SUV and 89 in the audi, but yeah for the most part gas is gas, unless something is wrong.
Getting 2 random batteries to have less than 10% variance among them is going to be a lot harder (especially when battery health changes a lot depending on how they are treated. Users running them to near empty in cold weather is going to shorten the life a lot faster than the guy who only runs it to 50% before swapping out every time), and I have a feeling that the amount of "problem" batteries will be much higher than the amount of times i've ever had "problem gas" (which is basically 0 times so far).
IIRC ours is the average of 2 different methods (it normally shows as R+M/2 on our pumps), whereas I believe the EU uses only the one that tends to be a lot higher (RON I think)
Most gas stations around me have 87, 89, and 91, and sometimes 93. I believe your octane numbers will be on average like 6 higher than ours for the same gas.
For starters, with gas and other things like it, there is a supply chain which is pretty tight. If one supplier starts giving bad gas, you can blacklist them and move on. With batteries you'd have to test them after every single use, because you don't know what the last user has done to them.
Then they need to be physically inspected, because a puncture or deep gouge or crack or something could cause big issues.
Then their actual capacity needs to be tested some how. I'll admit that I've been outside of the battery ecosystem for a while, but years ago it wasn't all that easy to "spot check" a random battery to find it's health and capacity. Most devices would gain that knowledge about a battery over a few charge cycles. You need to make sure you know it off the bat, and you can't be wrong or I'll lose faith in the company and the tech.
Then throw in the complication of different sizes, different shapes, different technologies, different requirements (this isn't just the "gas" part of fuel, it's also the "gas tank", so one size will never fit all), and now you are maintaining huge banks of different kinds of batteries all while charging them to the right amount without degrading them, and checking that users didn't run them in below freezing to almost 0 percent which would reduce the lifetime and aren't damaging them in any way which would be very unsafe.
In an ideal world, it sounds like a great idea, but I just don't trust that it can be pulled off without making the user's life worse than if they didn't do it.
Bringing it back around to the topic, I don't know that we can wait on solid state and this represents a work around while smarter people that I can figure that out.
There's no reason that batteries can't be checked that the meet spec before they are replaced in your car in the same way.
For EV fleets we used to only be able to do this per vehicle (not by battery) while the vehicle was home and charging, by shipping the fleet battery metrics to a central aggregator. But that is overkill for consumer vehicles.