While world stocks have wobbled this year, China's tumbled in a five-month selloff that risks crushing consumers' confidence.