A report by the New York Times has said that US government officials have for years warned major American tech companies – that included Apple, Nvidia.