"intellectual property" only exists because society collectively allows it to. it's not some inviolable law of nature. society (or the government that represents them) can revoke it or give it away.
In the EU, an author’s moral rights are similar in character to human rights: https://en.wikipedia.org/wiki/Authors'_rights