The stunning speed and breadth of the Republican president’s actions have caught Democrats, public-service unions, CEOs and the legal profession off guard.