It's likely impossible to legislate but it would be nice to say "each generation has to have one user-replaceable battery". Everyone who doesn't care (the 99%) can buy the iPhone 19x, and the people who want replaceable batteries can get the iPhone B.
Then the 99% have to pay extra to subsidise the compliance phone for the 1%...