AI-generated music that listeners can’t distinguish from human songs could reshape the music industry and threaten working musicians.