My argument is that while you write that it was "only pointed" to the API, an LLM, who can recite over 90% of a book in its training set verbatim, would also have trained on the original code (and can have it in "mind").
So "pointing it to the API" doesn't mean it ONLY used the API in its implementation. Could very well have used whatever internal knowledge of the behavior and architecture and choices of the original code - regardless of if it recited or translated the original verbatim or not.
So when considering this, "AI was just pointed at the API" is a weaker claim than it appears to be.
Unlike with music, in software traditionally a (human) programmer could be chosen who haven't "heard" (i.e. read the original code). That has traditionally called a "clean room" implementation (not to be confused with the software development process called "clean room").