A creation of food that looks like a tractor or front part of a train.
A chocolate train-shaped cake at a children's birthday party.
There is a cake made to look like a train 
A cake shaped like a train engine with a child seated at the table.
A pastry made to look like a train sitting on a table.