Nearly 300 houses collapsed in Kashi prefecture, in China's vast and sparsely populated Xinjiang region, when the 5.2-magnitude earthquake struck late Thursday, damaging nearly 2,000 more, the Ministry of Civil Affairs said.