Apple warns of hit to iPhone shipments from China