Oh, great idea. We should do that for software: force manufacturers to support their software with bugfixes as long as it is in use. And just bugfixes, the marketing department can stay out of it.
On the other hand, saying an industrial device should receive security updates for 10-15 years instead 5 or whatever happens this days it will be a major step forward. This will incentivise vendors to use better hardware with room to grow, not just the cheapest components possible.
Or, make componente modular so that you can upgrade just the control unit instead of the whole fridge or whatever.