Apple Inc has confirmed that it has acquired self-driving start-up company Drive.ai.