Companies should be held accountable for bullshit like that.
My idea goes like this: In order to be able to sell some device you need to deposit its source code and the sources for all updates with the proper authorities.
If you then don’t provide updates maintaining a) security and b) functionality of said device, because for example you go bankrupt, financially, or like in this very case morally, all of those sources are released and from then on are open source.
Corporations. Ok, so that’s out of my responsibility then, since I don’t buy anything from corporations. Good to know.