Below you can see the front-view size comparison of the Nikon P1000 and Sony A6400. The Sony A6400 is clearly the smaller of the two cameras. Its body is 26 mm narrower, 52 mm shorter and 121 mm thinner than the Nikon P1000.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.