I'm not arguing for or against, but we've hit a fairly stable period of diminishing returns on specs.
We've solved the storage latency and throughout bottlenecks, scheduling, and CPU core counts, so we don't really need beaucoups of RAM for a functional laptop.
RAM bandwidth doubles with each generation and throughout and latency improve, so less is needed for the same performance.
Batteries are relatively inexpensive to replace through the vendor are improved in energy density, energy density, and cycles, so there's not a big advantage to buying aftermarket even though you can.
For 2014-2016 Macs with flash storage, they're still pretty great to excellent machines. The greatest detriment to the longevity of 2017-2019 Macs is that they contain Intel components, and that every release of MacOS since High Sierra has been designed adversarial against their security flaws. Costco was practically giving away Intel iMacs recently, offering them almost half off.
Also, I remember benchmarking on apfs post-mitigations and seeing up to a 40% performance loss on some syscalls, which translated to an unusable computer on dual core Intels or anything with mechanical storage. How would upgrading components have helped then?