Warner Bros Discovery stakeholders have agreed to a multi-billion dollar takeover by media giant Paramount Skydance.