Fox Corporation beats earnings estimates with $5.18 billion revenue, up 2% year over year as cable programming and advertising drove strong quarterly growth.