Foxconn posted record August revenue of $29.1B as AI server demand accelerated, showing how the longtime Apple supplier is becoming an AI infrastructure giant.