The Prisoner was an abstracted, semi-surreal criticism of humanity and politics and power abuse. Science fiction isn't defined as just "anything sort of strange". I may be wrong about The Prisoner though-- as I think more, science and new technology did figure largely into some stories, even if the science wasn't based on anything real... their various brainwashing techniques for instance.
The mind-machine in "A. B. and C." would be a prime example of this. Through some sort of technological means, it visualizes Number Six's thoughts so that Number Two can watch them.