flip phones have those, but i've never had to swap one. the longest i've had one before it broke was ~ 7 years and a charge still lasted about half as long as when it was new (2 weeks vs 4).
they actually fit in a pocket and last a lot longer between charges. i don't 'need' the internet on me 24/7, so i'll keep getting those as long as they're still made.
you'd have to nationalize hardware production and service. for-profit companies would not accept a zero-profit decade-long obligation like that.