US newspaper alleges tech companies took ‘free-ride’ on millions of articles to help build generative AI chatbots