Software has a real and tangible value. Songs ... well, you decide their value, but I don't understand why the value songs create should be protectable, but software not.
That's really what this is about. This is about granting to those who write software the same rights to that property as anyone else who has rights to what they write.
Ask yourself, "Why did they copy the Java API? Why didn't they use Python or Go or Dart?" They invented Dart after all.
Private entities create things of value and share them with an incentive to recover their investment, and then some.
If it's possible for anyone, including private entities like Google, to CTRL-A, CTRL-C, CTRL-V it into their own use, then there is negative incentive to create that kind of value for the world.