I didn't notice anything to explain this, but we do know that the Nethersphere was a piece of Time Lord technology capable of storing the minds of the dying across time and space.
In order to do this, it would presumably need some mechanism to 'pull' those minds towards it for storage*, perhaps by hooking into a subconscious expectation of an afterlife.
It is not unreasonable to assume that other technological entities might feel that broadcast/pull and be drawn towards it, especially if their technology is partly biological.
Alternatively it could simply be a thread whose conclusion has yet to be revealed and a definitive answer will show up in the fullness of time.
*The more I think about this the more difficult it seems as a technological problem. I mean, sure, super-fancy time lord technology. But everyone from every time? That is complicated stuff!