You're forgetting that it genuinely helps other people in your industry. Stackoverflow is an amazing resource for programmers, pretty much every question I type into google relating to a library or some software comes up with 3 or 4 stack overflow links that actually help me. If they can take the masses of questions which basically form ad-hoc documentation for tonnes of projects and put them in a cohesive place then how is this a bad thing? Because people don't get paid $0.01 per post or something?
Perhaps any advertising revenue from the docs site could go towards something good, would this be better?
My StackOverflow profile helped me get a new job with a good payrise. It's also helped me a better developer.
I'm absolutely ok with them making a profit, and they're a hell of a lot more ethical and useful than what went before them.
Except, who does that? Let's face it, most of us would rather be coding than writing docs. Consequently, a large number of high-profile projects (I won't name names) have surprisingly crap documentation. If SO can find a way break that spell, more power to them.
The worst part, imho, is moderators not getting a dime for all the work they do.
They're the ones that really run the Stack Exchange sites.
Any profits that get made off this "documentation" (i.e. incoherent bag of examples) will not flow to the community or company behind the software in question. It's a parasite, leeching off the success of other projects which it neither created nor cares about.
How did they get corporate partners for their launch? That's easy. It looks to those companies like free labor.