The federal government says making AI companies pay for content used to train their models would undermine national security.