A key factor here is that the Chinese public is fed up with pollution. It hurts the legitimacy of the government.
The country may not be a democracy, but public opinion still matters. In mega-cities like Beijing the issue has become something the regime simply cannot ignore.