Depend on jurisdiction and probably how AI much is generated. If you write the lyrics but generate the song you still have copyright to the lyrics and so on