Tesla has hired a prominent artificial intelligence practitioner, Andrej Karpathy, from OpenAI as Tesla Autopilot head Chris Lattner leaves.