Retail is entering a new era where robots do more than greet shoppers or roll products from aisle to aisle.