This was the third Google hit for "are hotels licensed": http://www.myfloridalicense.com/dbpr/hr/Servicesthatrequirea...
Restaurants, too: https://www.sfdph.org/dph/eh/Food/Permits/default.asp
Anyway, it's a completely bogus assumption that licensing is only about ensuring competence.