Degenerate matter
Let's run some numbers.
Earth's mass compressed down to 3m^3 is roughly 2e24 kg/m^3. That's 10 million times more dense than a neutron star. This would be made up of degenerate quark matter.
A neutron star forms when a star that does not have enough mass to become a stellar black hole collapses. It becomes so dense its gravity overcomes the electromagnetic force keeping electrons and positrons apart. They fuse together to form neutrons. The neutrons can't be compressed further because the strong nuclear force becomes repulsive at 0.7 fm.
But you're 10 million times more dense than that. At your densities it's theorized that even neutrons would break down into quarks and gluons. It would also be very, very, very hot in the order of 1e12 Kelvins. With so little mass (and thus gravity) to hold itself together it would immediately blow itself apart.
Gravity
Let's assume none of that happens, it isn't at some cosmologically high temperature, and it doesn't blow itself part. It's just magically really dense. There's still gravity to worry about. What's happening to the normal matter adjacent to this infernal shower stall?
Newtonian gravity is $F = Gm/r^2$.
- $m$ is Earth's mass, 6e24kg
- $r$ is the distance from the center of mass, about 1 meter
- $G$ is the gravitational constant, 6.7e−11 $\frac{N m^2}{kg^2}$
Put that together and we get 402,000,000,000,000 N or 4e14 N. How much force is that?
It's a lot. Anything adjacent to the core will be immediately flattened onto the core. Anything above that will collapse. Your planet collapses into a thin layer of degenerate matter on the surface of the shower stall.
Tidal forces
It gets worse.
Gravity gets weaker with the square of the distance from the center of mass. At 2 meters from the worst shower stall in the universe, the gravitational attraction is 4 times less. At 4 meters it's 16 times less. At 8 meters it's 64 times less. This extreme force gradient is known as a tidal force and it tears things apart.
Imagine an 8 meter high rock 8 meters from the core. The end closest to the core is 8 meters away and will be experiencing $\frac{4e14N}{8}$ or 6e12 N. The further end is 16 meters away and will be experiencing $\frac{4e14N}{256}$ or 1.5e12 N. The rock will be torn apart by 4.5e12 N, the force of 100,000 Saturn V rockets.
It explodes anyway
It gets worse.
The force of all this normal matter falling into the dense unobtanium core and compressing will produce more energy than I care to calculate. Let's calculate it.
Let's say a hunk of rock falls towards the core in this intense gravitational field. Since we're dealing with such a crazy large gravity field we'll use special relativity. You can see the equation derived here.
$$ v = c \sqrt{1 - \left[ \frac{1}{\frac{GM}{c^2} \left( \frac{1}{r_\mathrm{final}} - \frac{1}{r_\mathrm{initial}} \right) + 1} \right]^2}$$
- $M$ is the mass of the shower stall, 6e24 kg.
- $G$ is the gravitational constant, 6.7e−11 $\frac{N m^2}{kg^2}$
- $r_\mathrm{initial}$ is the starting height above center mass.
- $r_\mathrm{final}$ is the height above center mass when it lands, 1m.
- $c$ is the speed of light, 3e8 m/s.
- $v$ is its velocity when it hits the surface of the shower stall.
Running the numbers, falling from just 2 meters it's going 20,000,000 m/s or about 6.5% the speed of light. From 4 meters it's going 8%. From 10 meters it's going 8.9%. From 100 meters it's going 9.4% and it doesn't get much faster above that.
We can calculate its kinetic energy with the special relativity formulas...
$$K = (\gamma - 1) m c^2$$
$$\gamma = \frac{1}{\sqrt{1 - \frac{v^2}{c^2}}}$$
1 kg at 0.094c will impact the core with about 4e14 J or about 100 kilotons of TNT.
So the rock surrounding the core briefly pancakes onto the core before blowing the planet apart.