We already replaced humans for many tasks such as assembly etc. The next step is cognitively challenging but physically easy tasks like driving cars.
A lot of "simple" human tasks such as making sandwiches in a restaurant require fine motor skills, creativity and other very difficult robotic traits. Those jobs will be done by robots long long after we as humans stopped driving cars or building them. Given the budgetary difference between making a sandwich and going into battle, we can be pretty sure sandwiches will come last. If anyone is still around to eat them by then that is.