Reality and the dream world are on a collision course after a device that can record dreams is stolen from a psychiatric research facility.