Amazon sales surged 14% during the fourth quarter, helped by strong holiday spending and a better-than-expected growth in its prominent cloud computing unit.