I grew up in Western Europe and experienced exactly what the author of the article is talking about so it’s not just an American experience.
However, there was a strong American cultural influence e.g. shows like Saved by the Bell, Fresh Prince of Bel Air, Simpsons etc were all popular and had strong nerd as social outcast themes.
However I don’t think they were the cause of this social dynamic, it was much older and entrenched.