It doesn't. The chicken doesn't know it's a road
Anyway, the veracity of that legend doesn't matter, but it is here merely to illustrate the idea that perhaps we subconsciously build our roads on lines that chickens won't cross, rather than them being aware of the road?