What's a shame is that Kodi's getting a bad rep from this. I've been using Kodi since it was XBMC/Openelec, as a way of streaming video files (using it for ripped dvds and unlicensed anime etc, when I was in my late teens/early twenties) to various devices from a NFS. Even back then you could get illegal stream services etc, but that was a long way from what most people were using it for. I remember it was a lot of fun trying to configure it to run on various chipsets, the first raspberry pi, and control it using a phone app or such.
Now it's becoming synonymous with the illegal streams, as people sell Raspberry Pis and Firesticks with Kodi and the illegal plugins already loaded. And as Rez points out, some people don't even know they're doing anything wrong (although that's pretty ignorant, nothing is free).
However, despite this, piracy must be down quite a lot, right? Netflix is spending $6bil on original programming this year or something. Steam generates millions for developers. Gabe Newell said once that the only way to beat piracy is to make it easier than piracy, and Netflix, Steam and such have made great strides in that department.