Especially with database-driven apps and SaaS products, distribution (hosting) is still most of what you're paying for. If someone leaked the back end source code for Github or Dropbox, of course there would be people who would host them for themselves and avoid paying, but I can't imagine it would cut into their revenues at all.
But with music, as soon as it's released in a digital format, anyone with an internet connection has near-frictionless access—the music creators are no longer offering any value from distribution other than the convenience of online stores like iTunes or the artwork and collectibility of a physical CD. The music industry and smaller musical groups/labels are certainly figuring this out, and experimenting with ways of offering something of value. Removing DRM was a big win because DRM did nothing except ruin the supposed convenience of online purchases. Cloud and subscription services (both pay and ad-supported) offer convenience and even better immediate availability than piracy.