The comment by Mr. Ramaphosa was seen as a reaction to Trump's pledge to cut all funding to South Africa over a new land law