Spotify is introducing a badge to identify AI-generated artists and will stop recommending their music.