Elon Musk is leaving his post at the Department of Government Efficiency (DOGE) , a White House initiative aimed at cutting federal spending and jobs.