As a recent booker of rooms in Barcelona, I found hotels to be a lot cheaper and better situated. And obviously without the risk of a last-minute cancellation, a particular worry if you have flight/train bookings in/out.
Maybe travellers to Barcelona are a little too confident in Airbnb and don't consider the alternatives?
But if you're a group of 5-8, or an extended stay, I could see how Airbnb could become cheaper.
Actually, airbnb offerings are indeed tightly regulated and heavily taxed in some jurisdictions. AirBnB didn't invented short-term rentals, nor does the company offer any servicd other than serving as a specialized POS for short-term rentals.