Foxconn posted a 39.8% year-on-year revenue increase in the second quarter, beating expectations as demand for AI servers and cloud networking products surged. The Taiwanese manufacturer also set a June revenue record and signaled continued growth in Q3.