A decently sized apartment is fine for most cats, psychologically. I don't know where you get "torture" from. What's most important is stimuli such as scratching posts, toys, etc. Otherwise, they're insanely copacetic to the point many "house" cats don't want to leave the home even when being dragged out.
Now, putting a dog in an apartment, especially when you're unable to give them constant exercise and attention. That's bordering on cruel.
That all being said, every animal has it's own personality. So it's best to match them with an environment that fits their personal needs.
> A decently sized apartment is fine for most cats, psychologically.
And how do you objectively come to this conclusion? Could you say a human prisoner can learn to cope in a prison and present "psychologically" well, but it still feel like a form of torture?
If you’ve ever had a cat that is adamant about trying to escape you might feel differently.