Hmm, I don't understand, why can't code be owned?
I think the ownership of physical items is an intuitive concept that comes naturally from the scarcity of such items.
Code, algorithms or ideas on the other hand are not scarce and I think that the legal framework that makes it possible to own such immaterial things is immoral.