Building machines for adaptive automation