Foxconn, the Taiwanese contract manufacturer is trying to reinvent itself as smartphone sales plateau as Apple is now diversifying its supplier base.