Valve is a similar size to id tech. They have two tricks: be in a business other than games and be privately owned. The former gives them the ability to weather storms and the latter keeps the dagger away. This would not have happened if id were privately owned.
Notably MS is in a business other than games, so another way to frame this is "MS is losing and Valve is winning".