Foxconn, an iPhone supplier apologises after protests break out after a malfunction with its payment system prompted late wages in China.