I listened to an audio book version of some old sci-fi short story that was sorta like this.
A human space traveller was captured by aliens, imprisoned, questioned and the aliens were attempting to torture him. The human never really describes who/what the aliens are until the end.
And it turns out its intelligent machines that are trying to torture him by using water as a threat. It really freaked out the machines that this human was able to drink water or something. It was amusing.