A soaring symbol of San Francisco’s past, 140 New Montgomery—also known as the PacBell Building—has become a hub for some of the Bay Area’s most forward-looking companies.