The wired-and function are also used in some communication schemes where the outputs are far apart. In the original Ethernet the signal was put onto the wire using a wired-or connection. The signal receiver continuously monitored the signal on the wire and if the signal on the wire was different from the expected value, the conclusion was that more than one transmitter tried to send at the same time - a collision.
A similar mechanism is used in CAN, but not for collision detection but collision avoidance.