This engineering marvel is called “Clockwork” and was built by K’nex enthusiast Austron, who has built five K’nex ball machines. This one is his most ambitious endeavor: 

It took 8 months to build, has over 40,000 pieces, over 450 feet of track, 21 different paths, 8 motors, 5 lifts, and a one-of-a-kind computer-controlled crane, as well as two computer-controlled illuminated K’nex balls.

Thanks, @RaySadler.

Related videos: kinetic sculptures and toys.