Two million analysts have been employed by China’s state and commercial clients to monitor people’s opinions posted on social networks, state media say.