The New York Times Co. has reached a deal to license its editorial content to Amazon.com Inc. for use across its artificial intelligence platforms, marking the first such agreement the newspaper company has struck after years of battles between the …