From doom to boom: AI is slowly re-energizing San Francisco