https://www.google.com/amp/s/www.marketplace.org/2019/11/14/...
https://www.petzl.com/US/en/Sport/FAQ/what-is-the-lifetime-o...
There are newer (government or industry) safety standards, as you note, which might reasonably cause one to retire functioning equipment. (For example, retiring dual-action carabiners in favor of triple-action carabiners.) But that's not because there's anything wrong with the equipment. Just because 2020 gear is a bit safer doesn't mean 2010 gear was dangerous. 2010 wasn't that long ago. Those safety standards were already quite good.
Besides, that's not what's causing software like this to need an expiration date. IOT devices where the server gets shut down are not going dark because of some new security research. We as an industry knew full well that using "password" as the password was a terrible practice, even way back in 2010.
That's a good analogy: software, like car seats, generally doesn't go bad with time, but the people that sold it would definitely like to sell you new software.
Afaik you're supposed to replace those every 10 years or so. Most people of course don't.
Another good one most people forget: Hard drives last about 5 years. CD-Rs are rated for 10 years. A flash drive can go for 10 years. SSD holds data for about 2 years.
The electronics themselves in many modern consumer devices are basically kaput after 4 to 5 years.
Point is you are likely overestimating the lifespan of your devices even without taking software into account.
I've often heard this, but I regularly use hard drives for much longer than that. I've only ever had one fail.