Foggy To assume that any 'AI' is able to do dangerous things is leaning into the AI companies hype.
Admittedly I'm a partial victim of that because I simply don't understand ML/AI well enough, not by a long shot, and because I don't understand it, I'm weary of it in a general sense, though I'm also well aware that not all AI can be dumped into the same basket. I guess the point regarding AI in this gallery app is that I don't know what 'kind' of AI it is and without being able to evaluate the source code, which i'm not, I just apply the "I don't want this crap on my device" stamp (better to be safe than sorry). I personally don't want it whether it's OK or not because it's not useful to me, especially at 140+MB which is the size of just the 2 models you linked, but that's just me ... at this moment I don't even have any pix on my phone.
Regarding your comment that I quoted, let's consider the recent Claude development that wasn't widely released because it was considered to be too dangerous. I think this justifies my fears, not about this gallery app, but because a company coded a product that apparently exceeded their expiations in a remarkably dangerous way, though I do not know the whole story.
I'll say it again: AI needs some serious guard rails, else it is we that will be paying a catastrophic price and, frankly, that price is going to paid regardless.