Where do people leaving academia go? Is there any extensive research/study/survey that looked at where people that leave academia go?

I mostly interested in the computer science field (machine learning) in the US, but curious about other fields and locations as well. 

People leaving academia can be PhD students or after (tenure-track, tenured, soft-money research positions, national lab researchers, etc.).
Copied from this question per Franck's request: the NIH recently examined where people with a biomedical Ph.D. ended up. The results of their survey are discussed here.