Nearly 900 students are feared buried and four killed when a powerful earthquake caused a high school building to collapse in southwestern China.