Beijing environmental authorities have caved to public pressure on air pollution in a sign of the growing power of social media to influence public policy in the country.