San Francisco technology companies including Twitter, Salesforce.com, Uber and Airbnb lost an important ally on Tuesday with the sudden death of Mayor Ed Lee.