It could be some kind of colored marzipan. I recently ordered a cake for a birthday and they had lots of edible, marzipan figurines on top... pigs eating from a trough full of tiny cut out fruits... very well done! There are a LOT of these types of bakeries here in China with lots of variety of cake figure style, and they sometimes have a window where you can see the cakes being prepared live all day.