Why Are Robots Used For Traffic Signals?

Why are traffic lights called robots?

.

Why do we use traffic signals?

Do traffic lights use AI?