We make things protectable so that private entities can cordon them off from the public so that they can make money from them by selling copies. If we had a different funding arrangement for the arts, such things would certainly be unnecessary. In this case, we can clearly see that privatizing APIs gains the public nothing and Oracle and co. lots of things.