In 2017, Apple put out a new iPhone, and in the same week, made my 1 year old iPhone unusable on purpose overnight to make me buy a new one.
My S23 Ultra got a software update that removed features and now I can't use YouTube. I can't just not install updates, because it will nag me constantly and leave a permanent notification at all times that I cannot remove.
Sony famously removed OtherOS from existing PS3s.
I'm not sure what the solution is but letting companies destroy their old product so you go buy a new one, whether carelessness or malice is unacceptable.