Foxconn Technology < said Friday it will build a factory in Wisconsin after the company's chairman spoke to U.S. President Donald Trump.