Google will investigate the controversial exit of a top AI ethicist