PXE over USB-C? How does that work? Is it just part of UEFI? Or is there some magic in the dock?
It's the same implementation as an internal NIC connected over PCIe, the NIC firmware contains a PXE option ROM that the host runs during boot.
> Is it just part of UEFI?
Yes, sort of. It's the same way PC firmware has been supporting option ROMs of PCI(e) devices since the BIOS days.