Most centralized exchanges also follow the same method, they take investors' money and trade it on the stock market. Regulatory laws enacted by the government must take into account a very important point, namely the need to force platforms to separate company funds from user funds, otherwise we will continue to witness more such cases.
This also applies to investors, they should learn to put trading money only on the stock exchange.