Last summer, the world’s largest index provider added stocks in China to one of its most prominent global benchmarks, leading billions of dollars to flow into Chinese shares and advancing China’s plans to draw more foreign investors to its markets.

The move by MSCI Inc. came after it came under heavy pressure from the Chinese government, which tried to curtail the company’s business in the country, according to people familiar with the matter.

MSCI’s...