Elon Musk’s tenure leading DOGE has attracted enormous controversy, largely for its focus on cutting government jobs and programs.