It's more than just tech workers. SF real estate prices have been influenced significantly by foreign speculation (especially from China). As the Chinese market slows down, so too does speculative offshore real estate investment. And these were buyers with virtually unlimited purses, ready to drop all-cash well north of asking prices.
(Full disclosure: I own a modest condo in SF, and when Chinese speculation was at its frothiest, I would get hand-delivered letters from real estate agents on more or less a quarterly basis. They would state that XYZ buyer in China is willing to purchase my property, sight unseen, and they would ask me to get in touch if interested.)