Earlier quoted context omitted.
Getting a job at google is nowhere near as competitive as getting tenure, you have to live in an alternate reality to believe that. I know several people that went there after their PhD one of them got the lowest possible grade on their dissertation (rete). Both published no papers as first author.
It's a different skill set, though. Just because someone was a mediocre academic doesn't mean that they weren't a great candidate from Google's point of view. There are also lots of very successful academics who Google wouldn't hire. For my part, I had a couple of decent shots at getting a tenure-track job, but I doubt I'd make it through more than a couple of rounds of Google's interview process. Perhaps it's easier…
Getting a job at Google is "just" a matter of graduating from a good school, grinding 500+ leetcode problems, applying at the right time, and being somewhat lucky. I would say that anyone who managed to get a tenure-track job is able to do this (provided they are willing to spend the time preparing for the interviews - which is quite a commitment).
Getting an academic position is harder. Even though I've seen very average people getting one too...