Foxconn plans $500m component factories in India