The court majority sided with the Trump administration in its first Supreme Court appeal involving DOGE, the team once led by billionaire Elon Musk.