Ah, but these are two different things.
This has almost never been a practical possibility, other than within that same generation. For example, back in the day you could take an iMac that shipped with an i5 and upgrade it to the i7 that shipped that same year - but it would be cost-prohibitive, and the modest performance increase wouldnāt be worth it when compared to a new computer.
The ability to repair doesnāt mean the product is designed to allow you to upgrade components, especially not across technology generations. And in the case of the M1, the inseparability of the components makes it a substantially better computer, spec-wise, which means it should last longer before becoming outdated. Literally, separating the processor / RAM onto separate components and socketing it in would make the computer worse.
What ārepairā does mean is that if your M1ās battery dies, youāll be able to get a legit, first-party battery from Apple. If the keyboard goes kaput, youāll be able to buy a replacement keyboard. So for your 2015, you can get a new battery, swap it in, and have a computer thatās as good as the day you bought it.
I can confirm this from personal experience. The only upgrades Iāve done to Apple tech over the course of time Iāve owned them have been of the form āI buy a computer with _____ RAM, and I immediately upgrade to _____ RAM to avoid the āApple taxāā.
Even when I had a desktop PC though, upgrading a processor nearly always involved āthrow away the logic board, and buy one thatās compatible with the new processorā. And the RAM nearly always had to be replaced as well to take advantage of new bus speeds, etc.
In other words, no PC was really āupgradeableā in terms of CPU speed. RAM, yes. Hard drive, yes. Turning a 2015 into a 2022? Nope.