The part with the golem falling and nearly crushing Batman after he ties it up reminds me of a legend collected by the Brothers Grimm. A Jewish man creates a golem to do household tasks, but over time it grows dangerously large, so that the man can no longer reach its forehead. So he tells the golem to take off his boots, and as it bends down to do so, he erases the E so that the creature reverts to clay. Unfortunately it then topples forward and crushes the man to death.