In the case of Stack Overflow/Stack Exchange, see Jeff Atwood's (slightly dated - IIRC job candidates are no longer charged) answer to "What is Stack Overflow's business model?":
http://meta.stackoverflow.com/questions/79435/what-is-stack-...
And their Careers 2.0 employer page: