Il Foglio, a daily broadsheet with an irreverent touch and a circulation of about 29,000, says it is the first newspaper in the world to print entire editions created through artificial intelligence, a nascent technology that is rapidly changing how newsrooms operate.