why not, foreign investors are looking for living standards, buying capabilities of people. etc
If that was the case the Brazil should attract more investment than China, since its standard of living and per capita is better than china.
India has a big upper class and growing middle class population, bigger than Brazils.
Whichever country offers decent rate of growth, is good for investment. Poor or not hardly matters.