 The aliens who infiltrated Starfleet in the episode "Conspiracy"  were originally part of the whole Borg storyline (as well as the  starbases disappearing in the following episode "Neutral Zone").  However, once the writers and producers worked out what the Borg  were, the tie to the aliens was dropped. This was revealed in the  text commentary on the fan pick Borg DVD set.