The memecoin craze has triggered irrational investment by ordinary citizens. The Chinese government just wants to protect investors, remind them and calm the market. The news was overinterpreted and the markets panicked.
The market panicked for another reason. In addition, yes, it is definitely not profitable for China to expel miners from the country.