Disclosure: I developed and released an app built on top of OpenAI's API. I'm not going to post the name, to avoid accusations of self-promotion.
As a developer, these kind of stories really frustrate me.
I've had apps rejected because of the most stupid reasons and sometimes the level of scrutiny made me remove features, just out of fear.
And then I read stories about these blatantly scam apps that got approved ...and I have a sudden urge to flip the desk.
And if you actually persist and add in-app purchase in your app - in the end, you do need money to live and one might (foolishly) assume that work should be rewarded - you are put in the same bucket with multi-million dollar, profit-focused enterprises and demanded to have lawyers, accountants and customer care representatives to satisfy Apple's requests.
FFS