Several meaning/origins.
1. A corncob: corn on the cob.
2. A male swan.
3. A thickset, stocky, short-legged horse.
4. A small lump or mass, as of coal.
5. A mixture of clay and straw used as a building material
The origin of the building material (adobe) cob is probably from:
COB: a rounded heap or mass; a small heap of anything