A) They were killed in a nuclear explosion, leaving the house empty.
In Ray Bradbury's "There Will Come Soft Rains," the story takes place in a fully automated house that continues to function after its human inhabitants have died in a nuclear disaster.