They assemble exactly as Apple tells them, using parts that Apple provides or specifies. So if there is anyone to blame for whatever method the FBI used to access that outdated (pre Secure Enclave) iPhone 5c the terrorist was using, it is Apple not Foxconn.