AI researcher says 'world is in peril' and quits to study poetry