Below you can see the front-view size comparison of the Nikon D850 and Sony A77 II. The Sony A77 II is 3 mm narrower and 20 mm shorter than the Nikon D850 but it is also 2 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.