Microsoft is an irrational actor: they will sink billions of dollars into VS without regard for direct return in order to secure Windows as a platform. Using them as an example is useless. Moreover, VS is "purchased" almost exclusively as part of the entire Microsoft stack. When I was there a tiny, tiny fraction of revenue came from anyone actually just buying VS.