its all explained in 'Star Trek, The Return' written by William shatner. The borg were just a race of AI robots who had taken over their planet, and when decker combined with V-ger, that was the first cybornectic borg.