First let's look at just Mirage Arcane on its own, to get a baseline, and then we'll look at what Illusory Reality adds.
An illusory pit is not actually underground!
Mirage Arcane only changes the feel and appearance of the terrain, not its actual shape.
You make terrain in an area up to 1 mile square look, sound, smell, and even feel like some other sort of terrain. The terrain’s general shape remains the same, however. Open fields or a road could be made to resemble a swamp, hill, crevasse, or some other difficult or impassable terrain. A pond can be made to seem like a grassy meadow, a precipice like a gentle slope, or a rock-strewn gully like a wide and smooth road. Similarly, you can alter the appearance of structures, or add them where none are present.
Every part of the spell changes the experience of the terrain, not the actual terrain itself. A stick can be picked up — but only because it feels real and interacts with you magically-intelligently. A precipice can appear to be a gentle slope — but you will still fall vertically if you try to walk down it. Difficult terrain can feel difficult to move through — but to a viewer with truesight you're just moving yourself unnecessarily slowly to deal with non-existent obstacles. In all cases, the terrain alters your belief about what you're interacting with (and thus alters your behaviour accordingly), not what you are actually interacting with in reality.
So: an illusory pit. The pit would be visible, and if you stepped above it, you would feel, see, and appear to others to fall into it. You would still be on level ground aboveground though, in reality. When the illusion fades, you would not be somehow underground, as the spell does not have the power to change the terrain in a real way and you never were below the ground in the first place.
Now add Illusory Reality
The Wizard class feature that lets you pick one object in the illusion to make real is a bit tricky.
A stick could be made real by weaving shadow magic into it, and then it would have real substance, not just trick you into believing that it has real substance. An Illusory Reality stick could help you dig a hole in the ground, and the hole you make will still be there after Mirage Arcane ends. Without Illusory Reality's shadow weave, you could still dig that hole, but it would be only an illusion and mistaken belief and disappear when Mirage Arcane ends.
So, Illusory Reality can make what you believe, see, feel, hear, etc. happening when you interact with an illusion into an actual fact. Walking over a chasm created by Mirage Arcane would result in believing you're crossing the chasm, at least until you hit bottom and the awful reality literally hits you. With Illusory Reality applied to that bridge, thinking you're actually walking across it would match the reality: you would cross the bridge and not fall, because the shadow weave has made it real, unlike the rest of the illusion.
How does this apply to a pit? The trouble with a pit is that it is not an object. As the joke goes:
Q: What becomes larger the more you take away from it?
A: A hole!
A hole is not actually an object, even though it's convenient to give it a name and think of it as an object sometimes. Investing empty space with shadow weave isn't going to work because there's nothing there to weave it into — it's not an object.
Not convinced? Look at it from the other direction and consider where the dirt would go. Does weaving shadow stuff into the space where the dirt is make the dirt suddenly unreal? No, Illusory Reality doesn't have the power to unmake things, only to temporarily make things.
So, you can't make an illusory pit real with Illusory Reality.
What about buildings?
Sure, you can make a fake building from Mirage Arcane into a temporary shadow-stuff actual object. The stone and timbre of its walls will actually support a character's weight, instead of just making them believe they are, just like with the chasm bridge. (And just as with the bridge, they can fall when the spell ends and the shadow-magic stops supporting them.)
However, underground constructions would still not actually put a character underground. The ground is still not "unmade" by either the illusion or by the Illusory Reality. A character could still think they were moving around in the below-ground spaces of such a building, but in reality they would just be walking around above the ground, on the still-existing actual ground, and the below-ground shadow-stuff would become irrelevant, buried inside the real ground. When the Mirage Arcane wears off, regardless of Illusory Reality the character would still be aboveground.