Below you can see the front-view size comparison of the Sony A7R IV and Canon 5DS R. The Sony A7R IV is 23 mm narrower and 20 mm shorter than the Canon 5DS R but it is also 2 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.