A 6.6 earthquake struck south-western China, claiming 46 lives and injuring more than 600 people, according to state media reports.