A century ago China was a weak democracy that had just thrown off its monarchy. I doubt the rulers then planned for a communist takeover in 1949, followed by a slowly emerging authoritarian capitalist state after the death of Mao.
That may be true but long term planning is in their DNA.