In his very funny new novel, “Valet,” the English professor considers what motivates humans through the perspective of a robot.