It's implied that both Airbnb and hotel must be available to make a comparison. When that's the case most of the time hotels are better.
That being said, if there are no hotels available of course any other alternative would be better.
If you've a large family with multiple children yes, Airbnb may be better