UN rights chief calls for safeguards on artificial intelligence