It is poor reporting to chose the most extreme possible anecdote (one person $1m-$4m salary) and then use that as an example of what is going on. The real story is...universities messed up badly structuring decent pathways for teaching positions and are trying to blame a hot market. There is also the ongoing story of poor measurement schemes (measure how good a teacher is by how good their research is) and the story of uncertainty (let highly accomplished academics rot in limbo-hell for a decade and use a tenure carrot to control them.)
BTW, the quote was from Cornell University's dean. I did my CS undergrad from Cornell. 90% of CS lectures were in a large hall where ~60% of the seats were empty, and this was in an upyear (1998-2001.) There was no shortage of space in the lecture halls. The teaching was mostly done by MS and PhD students, of which there were plenty -- the supply of recitation sections is quite elastic since there is no long-term commitment on either side.
I don't dispute you can make a higher salary than a faculty member, even without working at a FAANG, but having a PhD won't automatically make you eligible to get such a job.
Those jobs, the SWE jobs, there's really no degree that will allow you to skip that gauntlet. But I think there might be a different hiring process for PhDs or faculty leaving academia to work in research labs.
I don't really know, though, just something I heard/read somewhere.
I’m other words, do “cracking the coding interview” style questions play as big a role?
EDIT: I figured, why not do a quick web search. I found this link:
http://matt-welsh.blogspot.com/2014/01/getting-job-at-google...
Just one POV, but it does confirm that PhD graduates do have to go through the same kind of coding exercises (at google) as anyone else. It is worth noting that this is the case if you're applying for SWE positions, where a PhD might not really confer that much of an advantage. Again, I'm not sure if this would be the case if you were, say, getting hired as an AI researcher for a lab.
So, this link sheds some light, thought I still don't know about research positions specifically.
According to Glassdoor, Facebook research candidates are given the typical interview questions as part of the process: https://www.glassdoor.com/Interview/Facebook-Research-Scient...
Same at Google: https://www.glassdoor.com/Interview/Google-Research-Scientis...
For what it's worth, though I've never particularly sought out a research position in industry, I haven't really come across too many listings which leads me to believe the positions are few and far in between.