Software robots that automate various mundane tasks are helping companies such as Ernst & Young and Walmart ramp up worker productivity. The Wall Street Journal's Sara Castellanos has more.