No, their complaints aren't strictly about the missing tax revenue. There are other regulations that would need to be addressed (health, safety, etc...). Hotels are a heavily regulated industry with good reason. Regulations are a protection mechanism to protect the city/neighborhood and the consumer.
I think that there is a clear difference between renting out a room or occasionally renting your entire place, versus keeping a separate apartment strictly for renting out on AirBnB.