Same way bars with live music stay in business in an era of YouTube, I suppose. From the management side you have revenue streams from alcohol sales, your cover charge, and then the dancers usually pay a fee/share of receipts for a chance to work and make money off tips and especially private dances
(you sometimes hear this incredulously pitched as an exploitation particular to the industry but it’s the same way hairdressers and tattoo artists get stations at salons/studios)
I’m sure some of the dancers are doing it as a loss leader and making money on prostitution or sugar daddy sponsorship, but then that’s true of porn stars these days too