Elon Musk’s political activities and foreign business interests have converged as he takes center stage in the second Trump administration.