They both work identically as far as their use with a XIM.
If given the choice I recommend the Series X controller just for the USB C port. Xbox One controller micro USB ports wear out far more often than DS4 ports.