For decades, China’s leaders have failed to heed calls to rebalance the economy toward consumption as they pursued an investment-heavy, export-oriented growth strategy.