The world's biggest smartphone manufacturers are focusing on AI features to win consumers over to their side, and the competition is fierce.