It would make sense to require a company to release the code for players to host their own servers, which has been done by many games in the past. Not to continue to run it themselves.
That’s basically what people are asking for. Instead of not being playable anymore, give consumers the means to keep it going for themselves.
This could mean always-online having to be gutted from the game after it’s support ends so you can play it offline. Or server hosting files to host your own private or public server.
The goal is to have games not be impossible to play after X amount of time. How companies reach that goal is up to them.