When the risk of unemployment or underemployment is higher, why live somewhere that limits your opportunities? An expensive house or a cheap house is irrelevant if you are unemployed for a significant stretch of time and can't afford a mortgage period.
When I moved to the Bay Area, I justified the increased cost of living as the sunshine tax as well as the cost of reducing the risk of unemployment in a down economy. Even in the event of another crash specific to the tech industry, I guarantee I'd have an easier time getting another job out here compared to flyover country.