Chinese villages are being transformed by e-commerce, with traditional industries like pig farming being overtaken by new manufacturing opportunities fuelled by online shopping. E-commerce companies like Alibaba and JD.com are competing for the lion’s share of this expanding sector.