The C.E.O. of SpaceX, who spent millions to back Republican candidates, sought to portray himself as a political moderate. Share