In the west there's similar solutions. For game time, parents can use parental controls, time limits and bedtimes to set up phones and the like to not work at night. The government(s) are more concerned about gambling mechanics in games.
Back then, for an average person, there wasn't much to do on the Internet, except online games and chatting with friends, both of which are considered a waste of time. As a result, Internet itself was demonized, and Internet addiction was considered a problem, even a mental disorder.
Nowadays, China has a booming tech sector. Everyone is using the Internet all the time to browse TikTok videos, stream TV shows, order food delivery and shop deals. And people stopped talking about Internet addiction, because suddenly they realize they themselves fit the clinical definition, which was to be online for more than a few hours a day.
Someone opened an “Internet addiction treatment center”. Parents would pay to send their kids there, where they are deprived of their freedom, be indoctrinated about their “sins”, and even subject to electric shock. [1]
The state official television network, CCTV, aired a documentary endorsing the practice.
I am not making this up.
Obviously nobody cares about this anymore because literally everyone is an Internet addict.
[1] https://en.wikipedia.org/wiki/Yang_Yongxin#Internet_addictio...