In a first-of-its-kind indictment, New York officials arrested a man on Wednesday for generating music using AI technology and then distributing it billions of times across streaming services to collect royalties.