Films such as Rosemary’s Baby and The Shining made the terrors of domestic life all too literal.