Markets tumble on China’s devaluation