The best case scenario for Microsoft would be supplying the world with programming tools far ahead of all others (no idea, haven't tried any of that stuff), while maybe not getting sued to bits. The best case scenario for Valve would be not getting sued to bits while getting even more spammed by low-effort money grab attempts that hope to luck into virality than they already are.
At first approximation, yeah, the risk of getting sued to bits might be roughly the same. But the upside is not.