The city of San Francisco will spend $25.7 million to buy the Gotham Hotel for conversion to supportive housing for people transitioning from homelessness. Up to 114 units will be created in the acquisition unanimously approved this week by the Board of Supervisors.