Battery replacement in an Apple laptop is $199 including labor, and the battery lasts for almost 5 years. Buying a new machine is indeed a more reasonable option, simply because by the point you need to have your battery replaced, your laptop is already hopefully obsolete.
And that’s my main problem with products like the framework laptop. They claim that they offer better value to the customer, yet I don’t see it. Their laptop is not cheaper than any other laptop with a similar configuration, and an M1 machine at the same price level offer more performance, twice or thrice as long battery life and a better build quality. Sure, with the framework laptop you can upgrade your RAM to 64GB after couple of years if you feel that you need that. Sounds great, right? Not by that time everyone has moved to Zen 5 and Intel Meteor Lake with DDR5. So now you have 64GB of obsolete RAM in a laptop that’s slower than the cheapest budget PC, with terrible battery life on top.
I replaced the batteries in my 2014 and 2015 MacBook Pros in May. These machines are still quite usable for work even though they are quite old. One is on loan to my son who's work laptop died. They have been taking their time getting him a replacement. These systems are also fine for students and for office work. I could put it next to my M1 mini and split up the office workload between the two systems and never have any swap.
The $199 is for the Retina models. You get a new top case, keyboard and trackpad with the battery replacement and it feels like a new machine, at least where you interact with the laptop.
At the rate we're going, maybe we get new MacBook Pros in 2022. I was planning on selling one of them after ordering a new M1X MacBook Pro at WWDC. I'm glad I didn't sell before WWDC. I have heard of people who did do that and were they pissed at the rumor YouTube channels who thought new M1X systems were a certainty.