Below you can see the front-view size comparison of the Pentax 645Z and Fujifilm GFX 50R. The Fujifilm GFX 50R is 20 mm shorter and 57 mm thinner than the Pentax 645Z but it is also 5 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.