A strong earthquake shook a mountainous region in western China near Nepal on Tuesday morning, killing at least nine people.