No, the first one thrives because they know how to play politics, the second one fails because they don't know how to play politics.
You described word for word the archetypical engineer, competent technically, incompetent politically. A liability to his team and superiors in a cut-throat corporate environment. That's why they fail, they can't be trusted to not screw their team over to do the right thing.
There is also the type of person, who just wants to do a good job and has passion for what they do well, but does not want to engage in silly political games. Just saying, it doesn't have to be incompetence at that.