"Trump has delegated virtually unchecked authority to Mr. Musk without proper legal authorization," according to the lawsuit.