In the case of BSD-like licenses, IP is applied in a way that discourages plagiarism, while giving all the practical freedoms to the users, including making proprietary products.
In the case of copyleft licenses like GPL, IP is applied in a way to ensure that users have the code.
These things are taken away when the code is laundered through AI.