San Francisco Fed president says tech heads can help city avoid ‘doom loop’