Apple is struggling to secure enough semiconductor manufacturing capacity.