Without trying to sound dismissive of someone I admittedly I haven't read - this just seems really obvious to me.
Foucault of course is much more expansive than my trivial example, covering the notion of institutions as ideological enforcement, among other things.
No fool on Hacker News can summarize his work in a reply, and one would be heavily encouraged to read it. It cuts right to the core of epistemology itself.
In hindsight, I truly believe that not only were his theories several generations ahead of their time, but also likely a critical body of work regarding epistemology that would relate to developments in AI etc.