Buying an SD card full of Roms is piracy, that’s why you have to buy it from Chinese companies and not walk down to the Walmart.
YouTube has agreements with the record companies to pay them for money generated through music uploaded to YouTube. For music where they don’t have an agreement the DMCA means that the uploaded need to verify they have the copyright to thing they upload. Otherwise no social media or file hosting sites could exist.
Love or hate Amazon, this system would better than the self check out other stores are using.