the teeny tiny little fact you forget is nobody can trust numbers coming out of China. With a completely state controlled everything, it takes decades to find out what the real picture is - usually not until when the previous premier crocks it to find where all he fudged it. But in spite of that yes, China has greatly improved thanks to walmart economy, to the point they can splurge on buying affluence by throwing some money around.
the other not so tiny point you should not miss: the US population is tiny compared to Chinese and Indian. So yeah, compare India, China etc with other poor and developing countries. The US in spite of repeatedly stupid leadership, dysfunctional politics and some arrogant behavior, is still far far ahead in economic terms.
Now, taking India and China - obviously it is a lot easier to build human robot based industry in a communist regime such as China where people better learnt to be dumb, forget free thought & action etc than in a vibrant democratic nation as India. For example if a mid official is found corrupt in China he/she can simply be punished in a matter of weeks. In India it will take decades due to the laborious court system - partly due to due process and mostly due to ...corruption!
But between India and Chine, we define half of all humanity so hopefully each reach happiness in harmony rather than envy and misery