Apple iPhone 5 shortages are the result of a difficult manufacturing process, but Foxconn says its productivity is improving.