Pornhub's problem wasn't sex. It was revenge porn, authentic rape videos, and all the other content you will host if you allow anonymous uploads.
Not seeing that there is a difference between content intended for public distribution and content that is not is arguably part of the problem here. (Or, even worse, considering someone having sex and someone being raped to be morally equivalent.)