Just speculating here, but the act of grave robbing has probably been around for as long as people have buried with their riches. Perhaps it was people planning to be entombed with their wealth who came up with the idea of zombies in an attempt to scare off would-be tomb raiders?