You are simply wrong. Mechanical engineering majors, as an example of the most common non-CS major, don’t have any such high-paying opportunities until at least after a PhD (and even then they are lower than you are saying). Many make less than $100k out of college. Even CS majors have a hard time getting an interview at those top-paying companies.