People are investing in pornography production companies because they just like to get people off? No, the goal of production companies is to make money. The goal of the consumer is to get off, but the production company's goal absolutely is to money. As other commenters have pointed out [1] non-consensual pornography is indistinguishable to viewers from consensual pornography, so the risk of filming yourself commit rape and uploading evidence of the crime to the internet is not a decision I can see productions companies being keen on making.
For a very loose idea of "sex trafficking" that includes people deciding to work in porn to make ends meet - but at this point you could say your janitors are being trafficked because they wouldn't do their job if they didn't have to pay rent.