This problem happens in every industry, tourism and hospitality is full of these cases as far as I heard even by people I personally know.
The Silicon Valley situation is more visible for the simple reason that diversity is still a problem, so having so few girls makes this a huge problem and a barrier hard to overcome for women. I feel truly sorry for all the female colleagues having troubles with bosses and colleagues harassing or also bullying them (have you ever heard somebody saying: "she's a girl, let's give her this task b/c is very trivial").