The AI boom has helped San Francisco turn around its Covid-era woes - but rent hikes and people buying for a million over the listing price is setting nerves on edge, Josh Marcus reports