I agree. It is a vicious cycle. Companies don't invest in technology and automation because of their reliance on cheap illegal labor. Therefore they don't grow to the level they should and are not able to pay the competitive wages that a middle income country citizen needs.
Despite all that...