The point is that your AirBnB host (if there even is a host, which ain't a given) won't be traveling between dozens or hundreds of rooms and potentially spreading viruses among all those rooms.
By that metric, hotels are substantially worse. With an AirBnB, you're dealing with, at most, a number you can count with your fingers. With a hotel, you're - again - dealing with tens or hundreds at a time.
Critically, this means that an AirBnB has a greater chance of being able to disinfect the entire property between groups of guests, at a much lower cost. Now, whether or not AirBnB hosts are doing this is a different question, but it's at least feasible for an AirBnB (as opposed to borderline impossible for a hotel).