President Donald Trump and Elon Musk's efforts to cut government waste are facing pushback from Democrats and in some cases, the courts.