New York Times plans to invest heavily in AI to improve personalization and user engagement