Yeah, that's kinda of my point. Google is a incredibly successful capitalistic entity, but is punishing an employee for being biased in favor of ability. Favoring ability is rather core to capitalism.
That's meritocracy. The core to capitalism is contingent on spending capital to gain more capital, whether this is done through merit, politics, marketing, or what have you.
"From each according to his ability to each according to his need" is not capitalism.
"Capitalism" most certainly doesn't value equality or diversity.