They absolutely are, because an apartment building is a _rival_ good, as are all physical goods, meaning that you and somebody else cannot both own and use it at the same time. Intellectual property is a non-rival good, meaning if somebody else copies your song or story, you still have that song/story! It's a very different moral claim; the apartment is "I built it, so nobody should be able to take it away from me without paying", while the IP is "I built it, so nobody else should be able to copy it without paying".