Oof, those poor guys. They've been setting up ultimate!power!Lucrezia here, but she obviously can't snap any of the main heroes out of existence, so I reckon these guys are here to get snapped out of existence to show how dangerous Lucrezia is.

And then, while she's gloating over snapping them, the machine's helmet get's slapped on her head and she gets pulled out of Agatha.