There is no basis on which to believe that the success of China is predicated on the government being totalitarian. While I actually agree with the point that you're making about the Chinese people not seeing the Chinese government as evil incarnate due in no small part to the fact that two decades ago the country's population was quite poor and now it very simply isn't, your assertion that the country's success is due to the antidemocratic government is unsupported. For one thing, there are massive differences between India and China that make it impossible to simply say that one country represents the route of democracy and the other the route of authoritarianism.
If we take the nations that have developed very fast in a short span recently.
We have:
South Korea: Authoritarian
Taiwan: Authoritarian
Japan: Authoritarian (meiji government)
China: Authoritarian
Singapore: semi-authoritarian because of dominant party.
As for democratic countries?
Can't really think of any examples. The democratic and developed western nations didn't have to play catchup.
I think it'll be harder for third world countries in the future to catch up, unless another technological leap happens ala the industrial / digital revolution.