But Mr. Tan’s passion, as it is for a growing number of tech industry leaders, is San Francisco politics. He is one of a cadre of...