I've come across this bug frequently...
There will be a AI survey ship that gets stuck over an anomaly. It never picks it up but it just stays on the same square. The other AI flagships will gather around (but not in) the survey ship that can't pick it up and they all just stay there and never move.
Hope this gets fixed...