AI could endanger humanity in 5 years: former Google CEO