Could be an unknown deep sea dwelling invertebrate, an alien embryo, or a soggy mushroom, however I don’t recommend eating it (yes, this is a silly answer!).
From what I know, the chicken’s system mistook the bit of something for a yolk, and built an egg around it. I think they’re called fairy eggs or wind eggs and are normal especially for younger birds. It isn’t an indication of any issue.