San Francisco leaders warn that the exodus of technology workers could have “serious” economic effects