The lawsuit said Musk's actions at the cost-cutting agency can only be taken by a nominated and Senate-confirmed official ...