Taiwan’s Foxconn, ‍the world’s largest contract ​electronics maker, reported record fourth-quarter revenue on ⁠Monday, driven by strong demand for artificial intelligence products.