The majority of PhDs in computer science (around 2/3) do get jobs outside of academia [1]. Google might be the single biggest current hirer. I think that it's always been pretty common in this field though. Places like IBM and Bell Labs used to hire large numbers of PhDs back when they had big research groups. And at least in my PhD program, there was never an expectation that an academic job was
the post-PhD career path, which I've heard people complain about in other fields. Plenty of our alumni worked in industrial research labs and it was pretty clear that that was one of the standard post-PhD options.
[1] Source: https://cra.org/resources/taulbee-survey/