Evolution of bee hives
I'm assuming you mean the distinct architecture and regular hexagonal shapes in bee honeycombs?

In fact, Charles Darwin spent a good bit of time with honeycombs. 

First of all bees and wasps have a common progenitor and wasps also build combs and nests, albeit of paper/celluose as opposed to wax.  He was interested in how the perfect hexagonal lattice formed in the wax.


  Darwin tried three different experiments with bees’ cells at Down that he reported in Origin. In one, he put a thick block of wax into the hive. ‘The bees instantly began to excavate minute circular pits in it: and as they deepened these little pits, they made them wider and wider until they were converted into shallow basins, appearing to the eye perfectly true or parts of a sphere, and of about the diameter of a cell. It was most interesting to me to observe that wherever several bees had begun to excavate these basins near together, they had begun their work at such a distance from each other, that by the time the basins had acquired the above stated width (i.e. about the width of an ordinary cell), and were in depth about one sixth of the diameter of the sphere of which they formed a part, the rims of the basins intersected or broke into each other. As soon as this occurred, the bees ceased to excavate, and began to build up flat walls of wax on the lines of intersection between the basins, so that each hexagonal prism was built upon the festooned edge of a smooth basin, instead of on the straight edges of a three-sided pyramid as in the case of ordinary cells.’ (Origin, p. 223.) The cells were built up in a hexagonal shape when their bases intersected with those of other cells; but the pyramidal bases were apparently not built, since there was no pressure to accommodate cells on the other side of the wax, which was a thick block.


This seems to have a built in burrowing behavior in how the lattice forms that eventually turns into hexagonal shapes. 

BTW this topic is very similar to the evolution of spider webs, which is also fascinating.