A record 3 million restaurants went out of business in 2024 as consumers skimped on eating out as China's economy slowed.