Hip-hop originally recorded and transformed vocals, instruments, and beats to create something new from pieces of something old. The practice occurred without permission and obviously ended up in court. Now sampling requires a licensing agreement. The additional cost has fundamentally changed the genre (over the last 40 years).
Hip-hop and tech both ignored IP rights because neither started with a legal framework and both would have found the additional cost prohibitive.