Google chief warns AI could be harmful if deployed wrongly