The timing could hardly be worse for China. Beijing has spent billions building oil and gas pipelines from Myanmar’s ports to mitigate the risk of shipping through the Malacca Strait.