The problem is IMO much bigger. Every connected and/or IoT device becomes physical waste if the vendor shuts down the backing infrastructure.
Every product (physical or digital) should be considered as a unit with the required technical infrastructure. Companies/producers should only have two choices: keep maintaining the infrastructure or publish everything necessary for individuals and/or a community to take over. This must be ready from the moment such a product enters the market and it must be part of the “will” of the company so if it goes bankrupt, the whole process can be triggered more or less automatically.