As an intellectual exercise, when Intel announced their 28nm parts a friend and I tried to estimate if you could get the entire TTL catalog into a single part. Turns out you should be able to, pretty trivially. We imagined a fun (but useless) part with 14, 16, or 24 pins that you could drop into a programmer, pick which chip you wanted and "poof" it would be there (every chip would have every component in it). At that point an FPGA makes more sense though.
Some of the 'classic' parts, like NAND gates and inverters are still pretty useful in teach digital logic concepts, and its fun that folks using Arduinos and other pin limited devices are using shift registers to get more effective pins, but the heyday of discrete logic is well and truly past.