I actually have seen comparisons of using AI to a gacha game (quotas per time block, elements of chance, sycophancy in the output leading towards addiction or even psychosis in rare cases).
But I don't think the argument needs to be "AI is like gambling". The argument only needs to be "humans often behave irrationally and even self-destructively".
This is not the argument. It's not a comparison to gambling but a comparison to something that does not materially improve a person's life. Economic expenditure does not equate to human benefit. This is the original argument, and the onus is on THAT person to explain why people spending for AI actually benefit, not the other way around.