The agreement — set to run at least three years — allows Meta to use copyrighted content from News Corp’s US and UK media properties.