Anecdotally, many of my peers are going to industry instead of academia, because 1) better pay, 2) no begging for funding, 3) they don't want to teach. Academia is seen as signing up for a difficult life. Many industry research labs are allowing their staff to publish papers, so you can even participate in the academic research community. Look at how many NIPS papers come from Google-owned companies.
Personally, I'm interested in academia mainly because I'd rather not be part of an institution whose main goal is making money - but that attitude is not common in CS.