Apple cuts supply risk, pits Pegatron vs. Foxconn