Shoppers in Beijing and Hangzhou have become the first in China to try out supermarkets that allow them to pay for items themselves, or, in some cases, not pay at all.