I believe Valve has promised to unlock all games purchased through their platform in the event that they go out of business. Whether they stick to that is another story, but it should happen for at least some games.
They've been operating Steam for 20 years now. So the company has staying power.
Plus, the most likely thing to happen to Valve is a MS acquisition.