When labor runs out, automation steps in.