Mental illness. They tied their entire sense of self to some job at some company. Their body belongs in some parking lot on somebody's schedule.
I hear what you're saying, but routines, especially long-lived, are difficult to break/change. It's normal to have phantom limbs when they are cut off.
A mentally healthy person wants to be helpful. They want to be seen as helpful and they expect others around them to be helpful as well. This is the foundation of "pro-social" behavior: I benefit the group as much or more than the group benefits me.
Tying your identity to the place where you're helpful and where that help is appreciated and acknowledged isn't mental illness.