I was experimenting and found out if you set either of them to build something then hit it with your pickaxe it will dismantle it and give you back the resources it cost to produce.
Temperious