Most routers can handle a very large variety of inputs.
For example, most low-end routers will have a 10BT and FDDI ports. FDDI is used for T1-type connections and is never seen on a switch. Routers can also handle such inputs as OC-12 and above. The purpose of routing may not seem obvious. Ignoring the different connection type issue, let's do the math for the internet, which is nothing more than a big network.