I feel like you're being disingenuous with your choice of franchise. 30 years ago there were much worse toys. There were capsule machines that randomized what toy your quarter would give you. There were toys that you could buy random assortments at the toy store (M.U.S.C.L.E was one if I remember correctly). You could buy trading cards too. It's not that kids are marketed to (which is arguably its own problem), it's that the randomization is really not good for creatures that utilize associative memories (not sure if other intelligence avenues will be as susceptible to near misses, but likely it's a feature of intelligence in general to be stupid about randomness). And this has only been ratcheted up in the last 30 years.
What you may be missing, if you don't have kids, is just how insidious modern arcades are. They really opened my eyes in a lot of ways to the problem in general, since I just avoid a lot of the other modern invasive gambling mechanics. Most of the games are now just thinly veiled gambling machines. There are a few classics, like pacman still, and they eat quarters, but they are not programmed to randomly modify the game itself. Claw machines these days all have their claw strength randomized and is unknowable value that changes from play to play. And almost all the games I see at kids venues have some similar mechanic.
But it's not just the arcade. The rise of skinner boxes have become ever more weaponized (for lack of a better term?) in the last 30 years, as data collection has become cheaper and easier. I can't even imagine gacha mechanics in any of the games I played 30 years ago. Like, here, send Nintendo a dollar, and you can get a code for a better sword in Dragon Warrior? I would have mailed that dollar faster than you can imagine (I then would have shared the code, so of course this wouldn't work, but still, I would have sent the dollar). And for what? so they can make the games even harder?
This is a real problem beyond just teaching kids to ignore marketing. I don't have a solution other than trying to shield them until they're old enough that they're less likely to develop real addictions.