Amazon.com Inc. is betting that stores of the future won't have any clerks or registers. A company in Japan thinks it can get there first.