A 10-year-old student attending a Japanese school in southern China has been stabbed to death, with a man taken into custody.