None of those people ever applied for a job at Big Corp where one of the most important aspects is to be able to work well with other people and tactfully navigate the social structure of the company.
Not everyone is a great fit for big companies. Not everyone is a great fit for startups. Not everyone is great at being a small business owner. And not everyone is great at being a regular employee.
Point is that Linus would be fucking miserable and ineffective at a generic BigTech co. He’d hate every second of it. And that’s ok!
Nobody is saying it hinders their prospects in general. They're just saying that "being a dick" is incompatible with a specific kind of job: one that requires collaborative and cooperative work with other people and navigating the social hierarchy of a company.
In my experience, it's the nice people that get fired and the assholes that get promoted. It's not exactly a secret that silicon valley is full of arrogant assholes.