"If we don't do it, the evil people will do it anyway" is not a good argument.
Military applications are a small subset and are unaffected by copyright issues. Applications can be trained in secrecy.
The copyright, plagiarism and unemployment issues are entirely disjoint from the national security issues. If North Korea trains a chat bot using material that is prohibited for training by a special license, so what? They already don't respect IP.