The G20, and countries like South Africa, must work out practical safeguards, framed by ethical responsibility and democratic values to regulate AI