Taiwan’s Foxconn , the world’s largest contract electronics maker, is expected to report on Thursday that second-quarter profit rose 14% on continued strong demand for artificial intelligence servers.