Elon Musk’s fight with Brazil has highlighted how his interlocking array of companies can put him in a difficult geopolitical spot.