The guts of the M1 mini are significantly smaller than the case. There was a video where someone made a smaller case recently that shows just how much you can shrink it.
I was surprised Apple didn't sell a 20th Anniversary Cube. It would have closed the loop on what the Cube started. Maybe they'll do it on the 25th anniversary, in a couple years?