Also, ChatGPT is trained on actual books too (most likely including sci-fi ones) which was probably why it was able to generate something very accurate. It's not necessarily creating anything new, it's just using the huge data