Apple’s revenue weighed down by falling China sales