Investigators allege the teenager used ChatGPT to help develop code that automated unauthorised access to an anime streaming platform.