It may have stumbled in the AI race but the company’s new CEO will find it still has distinct advantages