A man has plead guilty for creating "hundreds of thousands of songs with AI" and using bots to make $8 million in royalties.