The 95th percentile household income in the Bay Area is $250k. That corresponds to a house around $1.2 million: well below the median. Your relative position in a housing market that's outpacing inflation is mostly based on when you got in, not your relative income.
True. But it's only really interesting to think about what people are presently buying houses for (and what makes them want to move) when thinking about pricing effects.