Amazon beat on the top and bottom lines for the fourth quarter, but it gave weak guidance for the current period.