Lem is humanist. The sci-fi part is only a vehicle to make you think (eh, if you want to), and while things are written in 1950-80... they are not outdated, because humans are essentially same, for millenias. Just read "Stories of commandor Pirx". Somewhere in the middle of them, you may notice something like the current frenzy around LLMs and ethics. But he goes further..