Tech companies are the ones to blame. There is insane numbers of untapped talent willing to work remote and to adapt to the bay area time zone if needed. They'll also work for less than 1/10th of their US based ones.
There are two possible explanations:
1- Tech companies didn't try to expand overseas; didn't care and just tried to limit salaries inland (I just remembered their fiasco).
2- Tech companies failed to expand overseas. This might be due to concentrating in a single location (India) for all outsourcing.
I think they should try to have satellite offices in most countries out-there. Instead of big ones, rather small ones that higher only the best of the best of that particular country.