Captain, Voyager 6 disappeared into what they used to call a black hole.
It must have emerged on the far side of the galaxy... and fell into the machine planet's gravitational field.
The machine inhabitants found it to be one of their own kind-- primitive, yet kindred. They discovered its simple 20th-century programming-- collect all data possible.
Learn all that is learnable. Return that information to its creator.
Precisely, Mr. Decker. The machines interpreted it literally. They build this entire vessel... so that Voyager could actually fulfill its programming.
And on its journey back, it amassed so much knowledge... it achieved consciousness itself. It became a living thing.