Flex, a global manufacturing and supply-chain solutions company, reported record earnings for its fiscal second quarter, buoyed by strong demand across its business segments and continued investment in data center infrastructure tied to artificial intelligence (AI).

