Tourists patronize all sorts of businesses (lodging, transportation, entertainment, food, retail) and those businesses are paying taxes. The revenue from tourists is part of that business equation. Of course there are also specific taxes paid by tourists (airport fees, port fees, hotel room taxes, rental car taxes) as well as regular transactional taxes paid by everyone (sales/service/vat).
You say "tourists are not paying taxes to the city" which is certainly wrong for San Francisco and for most other cities I've travelled to as well. In San Francisco, there is a 14% occupancy tax and it is taken by Airbnb automatically during booking as they do in hundreds of cities. Compare this to Craigslist where I used to rent and nobody ever mentioned paying tax once.
Finally, many of these cities literally have tourism as their number one industry. Its a bit dangerous to start saying that the people who fund your city are second class citizens since they only pay occupancy taxes and not income taxes. In fact many of the areas against Airbnb like Miami Beach have bent over so far backwards for tourists that all they care about are the hotels now.