Apple's iPhone gained ground in the US market over the holiday season and early 2013, outpacing Samsung and other smartphone makers using the Android operating system.