Foxconn: iPhone maker apologises after huge protests at China plant