They’re working on it. I follow a mechanic on YouTube who has shared dozens of examples of manufacturers seemingly intentionally shipping deeply flawed components for seemingly no reason other than to push the average lifespan of a vehicle back downwards from the high levels we’d reached by about 2012. Cars are being junked with less than 100k miles because the original parts fail, replacement parts are hard to get, and now manufacturers are making it so you need an expensive piece of software which they completely control to program a new part to the car, without which, it’s a brick. So essentially they can drop support for a car from that software, and make it near-impossible to replace those parts even if someone reverse-engineers aftermarket parts.
This isn't new. Automakers have always wanted to build to price and to survive the warranty period. Only competition works against it. Japanese makers competed on affordability and reliability from the 1970s through the 2010s or so, but now they've adopted the same compromises and are skating on their reputations. Honda for example is no longer affordable, nor as reliable or well made as they used to be, though everyone still thinks they are. Even Mercedes, once the king of overbuilt cars, are now just overpriced tin and plastic like any other car.
Hopefully some makers will start competing on affordability and maintainability again. Slate might be one.