A small opening or ostiole, visible on the middle of the fruit, is a narrow passage that allows the specialized fig wasp, Blastophaga psenes, to enter the inflorescence and pollinate the flowers, after which each fertilized ovule (one per flower, in its ovary) develops into a seed. At maturity, these 'seeds' (actually single-seeded fruits) line the inside of each fig.
Most commercial (and even hobbyist) fig varieties are parthenocarpic, meaning they don't require pollination.
And fig wasps don't look like that. They're tiny little guys that most people would probably mistake for a very small ant.
And even if the fig was pollinated by a wasp, it uses enzymes to break down the insects body, to protect itself from mold and other pathenogens that such may cause.
Basically; fig waps are itsy bitsy wittle wupies, while figs are digesting their dead mothers corpses, because they are metal as fuuuuuck.
iirc, the journey to the center is pretty intense. She loses her wings on the way in and dies after laying her eggs.
Also iirc, the figs sold commercially were selectively bred to self pollinate. I think the FDA or USDA would have a major problem with dead animals in fruit, even if they're supposed to be there naturally.
Yes, figs are visited by wasps in the region figs are native to, but only in the same way that flowers are visited by bees. This picture is very much not what that would look like. This is, I'm certain, literally just a wasp nest.
Edit: I stand corrected, fig wasps are born and typically die in their figs. Fortunately, that still looks nothing like this picture because they are super tiny.