ChatGPT seems really uncomfortable with the idea that the same word can have two grammatical roles at the same time. Note that it completely fails to generate its own sentence where the direct object is also the topic, even though it says that it should be possible.