Is there a word for "doing the bare minimum out of the maximum that could have been done"?
A Jobsworth, is somebody who apparently takes great pleasure in not only doing themselves only what is specifically required, but in most cases only allowing others to also.
The 'Computer says no' sketches work on the frustration felt by people having to deal with people who lack any and all initiative or ability to work beyond the scope explicit instructions.
Other types of people, or at least descriptions of them, are covered in English:SE 'Please give me derogatory terms to apply to my co-workers'