Shares of Foxconn, the world's largest contract manufacturer, dropped more than 2% on Wednesday after the company posted a lower-than-expected quarterly profit.