In one of the Hitchhiker's Guide to the Galaxy books there was a bit about the company that makes Marvin, the depressed robot, also making sentient elevators. These elevators had issues with getting depression, and the companies using them in their office buildings would hire psychology students to talk to them on the basement levels and convince them to go up again.