I forgot to specify in-game, but you can right click a machine in Build mode to destroy it (you get a 100% coins refund)