TOKYO—In a land where service is king, a few big retailers are committing lèse-majesté. They are replacing checkout clerks with machines.

Japan’s biggest retail group by revenue, Aeon Co., has put nearly 3,000 automatic checkers in hundreds of stores nationwide. Wal-Mart Stores Inc.’s Japan subsidiary plans to more than double the number in its stores in 2015.

To...