Though there are plenty of works that did predict AIs like ChatGPT, their implications and the specific quirks to manipulate them I think most of us implicitly expected we'd get AIs with sentience before we got AIs with sapience, mostly because that's how nature did it.