Apple is wagering that it can resolve a long-standing problem with one of its products rapidly by using a competitor’s artificial intelligence. This might lead customers to buy ...