At the same time Apple warns that its sales could be hit by up to $8bn in the coming months.