Swift Playgrounds was (is?) ad-free and teaches programming. There are music studio apps that let him compose his own music. Plenty of apps let kids create things actively instead of just playing games. There are also all sorts of non-electronic activities that could occupy his time more fruitfully, but I'll skip over that.
But, the kid wants to play games, not build something.
You can get entertained by both, but doing only one of those things is boring.
And that works until they have 1 conversation with other kids, in school or whatever.
What's odd is the apparent chasm between those games and the earliest flash games, but really it's just a few years. That's just a trick of the mind. When you're a kid, turning into a young adult, a few short years feel like a lifetime. Man, it speeds up after that...