They weren't.
Their AI research team is completely dysfunctional and unfocused. They're only interested in doing research and are entirely incapable of the engineering and product focus necessary to build something like ChatGPT.
That isn't the same thing as being caught off guard.