Elon Musk steps down from his government efficiency role after clashing with Trump over US federal spending policies.