Apple reported its sales rose 18 percent in the most recent quarter. But the gains failed to match expectations, adding to investor concern that the company may not be able to sustain its strong growth.