Back in the early 80s, Trek used a wheel building robot from Holland Mechanics. The robot needed to be fed wheels that had been manually laced, and then it tensioned the spokes. The wheels were touched up by hand after leaving the robot.
Things have progressed since then, e.g.: