Ex-Google CEO says AI industry has to 'make sure' tech 'doesn't harm'