Musk had said in May he would focus on his business empire and pull back his political spending, but after a spat with Trump, he vowed to form a new political party.