Follow our live coverage here.HONG KONG – The energy shock caused by the war in the Middle East caught China, the world’s top buyer of oil, by surprise. But Beijing has been preparing for a crisis like this for years.China has stockpiled increasingly large amounts of oil.It has pursued renewable sources of energy such as solar, wind and hydropower so aggressively that its demand for refined oil, diesel and petrol is falling.And it has harnessed technology to reduce its reliance on the foreign-sourced raw materials that go into the massive output of its factories.China’s ruling Communist Party has long viewed…