Apple CEO Tim Cook pointed to slow iPhone sales in China and fewer iPhone upgrades as factors affecting the company's revenue.