Incoming CEO inherits company that leads the smartphone market but trails rivals in AI.