The artificial intelligence boom is fueling San Francisco’s economy. But some in the industry fear the market is overheated and that a crash could have severe consequences for the city.