Below you can see the front-view size comparison of the Canon G5 X and Sony A7. The Canon G5 X is clearly the smaller of the two cameras. Its body is 15mm narrower, 18 mm shorter and 4 mm thinner than the Sony A7.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.