Crikey - Law is even more fraught with risk on there being a positive outcome (Weirdly, there's an excess of Lawyers and Accountants in most jurisdictions, and a hang of a lot of graduates end up on minimum wage, if they get to practice at all)
The thing about CS, and ENG in general, is that it's less about who you know and more about what you know, which is a real leveller.
Right now, though, there's a pull back from the FAANGs and other big tech, which IMO is a measure of the cost of/appetite for risk at the moment (read: interest rates) as well as a well publicised miss or two (Twitter, Facebook's Metaverse).
Is it all over for Big Tech? Really hard to say, dot com bubble didn't end it. Outsourcing never eventuated (despite what recruiters are saying about remote workers having to reduce their salary expectations, because of the competition from overseas, the truth is that companies that take their ENG over seas end up paying twice as much to clean it back up when they eventually have to bring it back in house)