San Francisco bars officials from buying Apple computers for city business