Costco introduces scan-and-go apps, pre-scan systems, and entrance scanners to cut waits, rival Sam’s Club.