ChatGPT, a Machine Learning tool, was fed the contents of the internet. No direct programming of content, it only knows what it found there. The programming that makes it different from other search tools is the conversational interface. The Marxist part is your imagination.