A Chinese regulator said that any violations by the tech firms would be investigated and "severely punished."