Many peer-to-peer (P2P) lending platforms in China collapsed, defrauding millions of investors who had been promised high returns on their investments.