Warner Music Group and AI firm Suno announce deal to compensate music artists and songwriters, ending a legal battle.