I don’t see what the relevance of the warranty length is. Say a car has a four year warranty. Does that mean that it’s acceptable for the manufacturer to brick the car after four years?
Say the car has an undocumented feature that it checks its VIN on a list of stolen vehicles and refuses to start if its VIN is on the list. The manufacturer takes the service down as soon as all the warranties expire and without the service, the car doesn’t start.
I think you have concede that the issue has to be the cost. If it’s a $35,000 item that’s being bricked, that’s totally unacceptable. Maybe for a $300 item, it’s not such a big deal, at least not to some people.
If you look at most consumer protection laws, they place the threshold for such shenanigans much lower. For example, California law requires a manufacturer to support repair and maintenance of a product costing over $300 for seven years.