Technical titans give SF the finger as they flee. But this billionaire stays and works to make it better