The universal serial bus is a communication protocol. There are dedicated ic's that handle sending data through a USB port. There is no dedicated midi-to-USB chip.
At one end, a processor will set up a buffer to send data to another. The two USB chips will handle the transfer of data. The nature of the data - stuff to store on an external hard drive, or a midi stream is just a another collection of bits to the controllers.