China’s breakneck economic growth – which lifted incomes at home and reshaped markets abroad – once seemed as inevitable as a law of nature.