Below you can see the front-view size comparison of the Nikon D850 and Canon 5DS. The Canon 5DS is 8 mm shorter and 3 mm thinner than the Nikon D850 but it is also 6 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.