Chinese stocks have experienced a significant selloff, resulting in a loss of $3.5 trillion since May.