Foxconn confirmed a cyberattack has disrupted some of its North American facilities