In the simplest terms a traffic light is a robot.
And so are the cameras that take photos of speeders and those running lights.
They don’t make their own decisions. It’s bare boned automation.