The AI company named other agencies and officials as defendants as it alleged retaliation for a policy disagreement.