The music giant, home to stars like Taylor Swift and Drake, had threatened to withdraw licenses for its tracks to the social media juggernaut if they failed to come to a new agreement.