It should be possible to connect two laptops by a USB-C to USB-A cable and transfer data. I have not seen this work except for Apple laptops in Target Disk Mode. This worked very well for me in the past to get software onto my brother's cantankerous laptop when we could not find a USB drive for the transfer. We had no USB drive but we did have a USB-C to USB-A cable. I downloaded the files off the web, booted my MacBook (with USB-C ports) into disk mode, plugged it into his (older with USB-A) MacBook, and copied the files off my drive to his.
The various parts Apple used in their Intel based laptops are not all that unique, it's pretty much all off the shelf stuff that nearly every other laptop maker uses. The USB controllers they use are common and this can be verified by comparing the PCI identifiers as shown in some hardware diagnostic utility.
If Apple supports data transfer from a laptop with USB-C to another laptop with USB-A by a common USB-C to USB-A cable then why don't other laptop makers? That's a good question that I have seen asked for many years, though not always in those words. The hardware is there, and has been common in laptops for years now. The USB 3.0 spec allowed for host to host communications by a USB-A to USB-A cable, and that was written in 2010. The USB-C spec came out in 2014, and Apple supported Target Disk Mode by USB-C in 2015. With host-to-host communications being part of the USB 3.x spec for a decade there's no need for a dual role USB-C port to transfer data, but with a dual role port it can mean the computer with the USB-C port can pretend to be a USB drive so the computer with the USB-A port needs no special software.
This is possible and it's been done. There's other examples besides a MacBook in disk mode to prove it possible. The question in my mind is why is this not a standard feature in every operating system today?