I sadly see this pattern of thinking far more often than I want to in my fellow eastern Europeans.
By communism I don't think people talk about the philosophical basis of an idealized society, but the totalitarian regime that oppresses a society and keeps the working class constantly in survival mode under the risk of losing it all.
In this case the person is itself a member of the group, and the statement they made isn't even a generalization to the group at large - just an observation about certain common tendencies seen in it.
If he made the claim with insufficient evidence or made the claim in contradiction of the evidence, then it becomes racist, but I don't think making the observation and doing the calculation is the racist part. It is a simple chi-squared goodness-of-fit test.
Not everyone has a hundred tech unicorns in their back yard. I think my country (Slovenia) produced one in its entire history so far and even that was mostly in the US