E T A Hoffman (1776-1822) wrote a series of macabre tales, two of which feature young women who turn out to be clockwork dolls. These tales, Der Sandmann and Die Puppe, were the inspiration for the ballet Coppelia.
Listen on Spotify:
The Tales of Hoffmann by Offenbach
Coppelia (waltz) by Delibes