Not just that, they're also kinda similar value proposition, in that it's "holy crap look how fast you can develop code if you just ignore all of the longer-term risks you're creating".
Both AI and Mongo can be used for good and quality code but that's not how they get sales.