AirBnBs tend to employ people as well (cleaning, maintenannce, administration).
With many hotels the money is actually flowing out of the local community as the business is owned by a big multi-national. It's not really so cut and dried in favour of hotels.