Samsung turns to AI to regain smartphone throne