Engineers at various tech companies are pushed to design devices that will feel great for a short time. Then your device will slow down. It will get very hot, and sluggish as you use it. The battery will not last as long as it used to. If you have a notebook computer then you might need to stay plugged in after 3 years of ownership. Or fork out money for a replacement every few years.
If you look at smartphone design you will see that smartphone innards are basically a massive battery with a small logic board or motherboard. I am oversimplifying things of course. But the multiple cameras, ram, storage, CPU, GPU are really tiny in a smartphone.
The tech companies know that if they build phones, or computers too well. No one will buy the newest devices. So they have planned that the device you just bought will not last long after the warranty period.
There are ways to help your smartphone last longer. Do not always use superfast charging. If you do have some active cooling for the device. I use a USB fan. If your phone is very hot use a USB fan to cool it down. It is the same with notebook pcs using a cooling pad. Check which one will work for your system though.
For cars, one thing I am going to invest in is a battery tender and a scan tool. These maintain your battery (battery tender) and can catch issues before they become a big problem. With a scan tool, you can check your car's various systems and if you find an issue it is easier than just "hearing a weird sound".
All in all our tech is designed to fail, so we can buy new stuff. However, sometimes engineers make a product that is a bit too good. They produce cars that can run for hundreds of thousands of kilometers. Smartphones can do that with software tweaking and replacing batteries can last more than 5 years.
Unfortunately, they are rare cases.
/tata