(Source: Youtube)
Sorry it is in French, cannot find it in English yet. Very amazing, these automats (the writer at least) were made by Jaquet Droz, an old watchmaking firm in Switzerland.
These automats write letters, paint paintings, and make music. Really impressive, considering that these were made over 200 years ago.
Visit Passion Horlogere for a longer article, unfortunately also in French.