The booming tech industry has pushed San Francisco house prices out of the reach of ordinary workers.