Musk, who is close to Trump, accused South Africa, without evidence, of having "openly racist ownership laws".