Apple's profit surge halted in the latest quarter, as a flood of new products like the iPhone 5 meant high start-up costs for new production lines.