In strings of programmable LED lights every single LED is actually an LED combined with a computer. This allows the LEDs to be addressed individually without loads of wires.
Computer is overselling it a bit. It's a fixed logic latch+shifter. Basically each LED takes first few bytes for itself and shifts out the rest down the chain.
Still awesome this is small and cheap enough to put into individual lights of course.