General Motors has named Dan Ammann as CEO of autonomous vehicle technology specialist Cruise.