Apple supplier Foxconn’s failed India chip venture shows how tough it is for new players