BEIJING—China’s economy is walking a tightrope.

The central government is concerned about losses of low-end manufacturers to other countries and so is giving them incentives to move to lower-cost parts of China. But at the same time, it wants to raise wages and spur consumer demand by developing more high-tech manufacturing, such as semiconductors and robotics.

Policy...