Elon Musk has said the US needs to “delete entire agencies” from the federal government.