For years, American companies doing business in China could count on one thing: growth. A rapidly expanding middle class, rising real estate wealth, and consumers eager to spend helped turn China into one of the most important markets for companies from Apple to Starbucks. Not anymore.
Nearly four…