In a White Castle just southeast of Chicago, the 100-year-old purveyor of fast food has played host for the past year to an unusual, and unusually hardworking, employee: a robotic fry cook.

Flippy, as the robot is known, is no gimmick, says Jamie Richardson, a White Castle vice president. It...