If you had only puttered around town (putting only a light load on the engine), you could have fully used the remaining 40%. So the gas tank does still have 40% capacity remaining at that point, it just can't deliver surges like it used it.
AFAIK, most of the battery degradation on phones can be attributed to heat and suboptimal operating temperatures. An EV will heat up / cool down the battery, treat each cell as an independent unit during cycles etc. They will degrade a lot slower compared to phones. Most EVs even after years of use have decent battery performance and some manufacturers (like Tesla and BMW) even go with 8-10 year battery warranty programs.
I think they don't see much abuse like the tiny phone batteries.
As a battery degrades, the time is reduced.
Regardless of what the initial voltage is, a plot can be drawn based on measurements of the voltage to see how quickly it's approaching the cut off voltage.
So the battery capacity should really be where the voltage is relative to the last peak when fully charged compared to the cut off voltage.
If Apple is reporting a battery at 40% capacity when it cuts off then they're fudging their numbers.
I started buying LED flashlights when the first couple of designs with high efficiency voltage regulator circuits showed up. The one my buddy had was only fit for a reading light for the last couple of hours of use.
People used to understand that things got dimmer or slower when the battery was almost dead. Due to circuitry these flashlights kept going even though the battery voltage had dropped below the shutoff voltage for an LED. Shouldn’t we maybe have built on that familiarity? Couldn’t we still?
I recall when they switched to non-replaceable batteries in MacBooks, they boasted how their battery lives were the best and would last x years. Is this how they did it?
And frankly now that sudden shutdown isn't a thing, I don't think it matters much. Apple just has to communicate the situation better when processor throttling reaches severe states.
This sort of begs the question - if your phone is shutting off suddenly at 40%, is the battery really at 40%?
People have certain preconceived expectations when they see a percentage. The best analog I can think of is a gas tank. People know that how they drive affects their fuel consumption, but they also know that when their gas tank is 40% full, their car's not going to shut off suddenly.
Perhaps we need to look at using a different measure than percent to indicate remaining battery life. Having said that, I don't know what that different measure would be.