I think maybe a simpler explanation is that tech has been such a story of purportedly humble people becoming wildly successful. Classic rags to riches. Makes it easy to think of nerds as one of the common people, even the rich ones.