I read this short story at least 40 years ago, most probably in a collection. I read it in French, but I think the collection consisted of translations from various languages. That one might well have been from German, since I am sure it took place in Germany or in Austria. Of course, it might well have been written originally in any language, even including French.
It takes place at a time when formal dancing, balls, events like that, were very popular (among the upper classes, of course). A maker of automatons was extremely talented. The story begins with a list of some of his extraordinary creations. Having heard young ladies complaining that the men they danced with were never satisfying, he decided to create the perfect dancing automaton: never tired, never sweating, never stopping to drink... ).
He brings it to a ball, not pretending it was human, on the contrary explaining a young lady how to adjust the dancing speed, etc., etc. But too confident in the perfection of his creation, he leaves the mansion where the ball takes place and goes back home.
Alas, his automaton goes haywire, dances faster and faster and nobody can stop it. One looks for the maker everywhere in the mansion. By the time they understand he went home, run there, wake him up, bring him back, a lot of time has been lost. Meantimes, the poor lady has fainted in the arms of the automaton, and has been bruised when hurting the walls. IIRC, the maker is able to stop his creature, the damage is not too serious, the lady recovers.
But the maker decides never to create another humanoid automaton !