That recursive Christmas tree has appeared in science fiction, namely Robert Forward’s Rocheworld series. Their “Christmas Tree” is a recursively branched motile controlled by a starship’s computer, and used for assorted maintenance tasks. The branches and sub-branches can detach and fly around the ship (zero-gee) for small jobs, and the various parts communicate by laser, for sparkly lights.

In current times, there have been experiments with dendritic molecules that self-assemble.

Also: “The Securitree is looking at me!”