China's week of stock market horror has a happy ending | Fortune