I want the EU to have an "Abandonware Institute". For any product that requires an online service, the manufacturer must first provide a package with sufficient information to the institute on how to unlock it and use it to a reasonable degree without the service. That could include free software, protocol specs, keys for unlocking it etc.
Then when the manufacturer discontinues the service for any reason then the institute would publish the information package they have freely on their web site.
That way, the consumers rights would be protected even if the manufacturer goes out of business. This should not just apply to hardware, but also to software-only products, such as video games in particular.
The institute would be funded by a fee, paid by the manufacturer in advance, as a condition to sell their products within the EU. If the manufacturer does not want to do the work to make this package and pay the fee then that would be an incentive for them to not make their product depend on an online service in the first place.
And once the product is discontinued, the manufactured would be absolved from any responsibility for the safety of what happens with their product (e.g. hate speech in live chats, or whatever). But each product's abandonware package would be required to fulfil a certain standard in the first place.
The institute's web site would be region-locked by IP. If any other country would like their citizens to benefit from this, then they could pay a fee and get a local mirror of the repository of unlocked packages.