Chinese companies are told they need permission to fire more than 40 workers, in a sign of worry over rising unemployment.