Goldman Sachs has hired Charles Elkan, a former machine-learning expert at Amazon, to run the bank's AI efforts.