Job surge in rural, small US cities may be tempered by automation