Anyone with a Pixel 4 or 4 XL that's randomly shutting down should contact Google Support! That is not common and it's certainly not normal, and it just may keep right on happening until your warranty expires and then one day you find yourself holding a brick in your hand.