Samsung Emerges as a Potent Rival to Apple's Cool