Former Google boss warns of extreme risk of terrorists using AI