The stock-market frenzy that’s gripped China over the past few weeks is probably grounded in economic fundamentals, analysts think, and the government’s response suggests they’ve learned some hard lessons over the past decade - all good news for U.S. investors.