Trump has worked to overhaul the government by pushing out federal officials and drastically downsizing agencies through the Elon Musk-led DOGE.