Bill Gates has sounded the alarm over AI's 'grim' future should the rapidly-evolving technology wind up in the wrong hands.