Google and Yahoo's worldwide network of data centers are said to have been compromised by the NSA, according to a newly-leaked document.