We effectively didn't, though, at least as far as artists are concerned. Streaming revenue is abysmal for artists. https://www.latimes.com/entertainment-arts/music/story/2021-...
Piracy made music acquisition too convenient for the consumers, so an alternative had to be created - but this alternative really only helps the labels, and not the people actually making the music.
It's not clear to me that the streaming world is better for artists than the Napster one. At least anyone wanting to legally listen to music then would buy albums, rather than just having a spotify subscription. Not that royalties on physical CDs were great, but my understanding is they did work out better for most artists than we see with streaming royalties.
I don't know what a potential analogy would be here with stable diffusion or dall-e or whatever, but I don't know that people were able to immediately identify the potential downsides with "winning" against piracy, either.