I had some music playing in the background while testing a Youtube livestream for the first time. Nobody was connected, I was working on camera settings. Google shut it down within a few minutes and bitched at me about a copyright violation. That was the last time I used Youtube.
I'm pretty sure the main problem is getting sued for tens of thousands of dollars per infringment for distributing intellectual property that isn't yours.
It's hardly a platform issue. There are law firms that monitor public torrents and threaten anyone sharing from a naked IP address.
Every service with UGC is gonna have a frank of exchange of views with the RIAA or MPAA once they get big enough.
You're forgetting the issue of platforms creating paralegal environments. A lot of the issues come from IP claims that would not have been made if they actually had to do the work and try to sue you (especially in another jurisdiction to boot).