Apple Inc supplier Foxconn reported a 5% rise in first-quarter net profit, largely in line with estimates, as chip shortages, supply chain issues and slow spending for electronics amid COVID-19 lockdowns in China curbed demand.