Walmart still trying to figure out home delivery

Walmart, like many other retailers, is still trying to work out how to meet the home delivery needs of its customers without losing money in the process. How can retailers such as Walmart make grocery home delivery profitable?