Shipments of millions of computers and smartphones, including the next iPhone, could face delays of up to six months following a massive inferno at a Chinese factory.