South Africa adopted a law allowing the government to seize property "in the public interest.” The measure was condemned by South Africa-born Elon Musk.