China cut its number of banks by nearly a quarter, shutting more than 670 lenders last year as regulators tightened oversight of smaller institutions amid slowing economic momentum.