SF isn't an address for close to 800,000 residents just because of tech (or work if you will). There are myriads of other factors of why anyone would choose to live close to nice beaches, a long beautiful Pacific coastline, proximity to wineries/breweries, 4 full seasons w/ unparalleled weather conditions all year round to name just a few :)