This reminds me of an ancient Chinese story from the Liezi, where a craftsman presents a robot to King Mu that can sing and dance. After the robot beckons to the kind's concubines, he orders the craftsman to be killed. The craftsman is terrified and deconstructs the robot, demonstrating to the king that it is simply a collection of inanimate items. The king is impressed and says "can it be that the skill of a man can be equal to that of the creator?" It's a great story that I discovered because it's an early instance comparing creativity and invention to divine power. Not sure if it has been translated but the text is here: https://ctext.org/dictionary.pl?if=en&id=37480