This is made with Google SketchUp 3D drawing CAD program
(check it out, it is really simple and royally free).
The add on that animates/interacts these 3D objects is "Sketchy Physics" (also free).
It allows to make a simple physical interaction simulations and the use of motors, servos hinges etc.
Music is from Vivaldi (i don't recall right now which concerto it is)
Filmed with Bandicam software (10min limit on free version +embedded logo)
Update:
This video was taken down immediately due to copyright claim to previous music, so i apologise for such a delay. I had to refilm the whole thing with public domain music.
Let's hope Vivaldi will not raise from the grave to take down this video.