Pay TV giant Foxtel has been sold by News Corp to global sports network DAZN for $3.4 billion.