Basically here is what you do. Hit the ground next to the egg then without letting go of the left button move your cursor towards the egg and you will begin to break it. It will break and you will collect it. Probably a bug but still is cool.
to the pl who just say break the block below it: are you kiddig me? have you ever even BEEN to the end? the egg sits on a BEDROCK stool. so... just do what anonymos said. tsart hitting the bedrock block below the egg then move ur cursor upwards to start breaking the egg. sheesh.