Comedians don't have to be fair, but humorists do.
In addition, the target audience of the show are unlikely to know very much about the valley. I would expect most people believe the valley is "kids from Harvard who think they're hot shit, trying to get rich doing something useless".
We have, in the Valley, a preponderance of companies started and run by nerds. I suspect that reality has leaked into the public consciousness.