This is Amazon's entire warehouse solution, in some sense. Pickers are "optimized" by software. It's probably relatively trivial to teach the system to keep people further apart, at the cost of optimal routing.
They're not monitoring the public, they're monitoring their supply chain system.
Ughhh... Never let a good crisis go to waste. How about we ban machine learning systems to monitor people's movement at scale?