The shape of a rigid body is not Lorentz invariant and depends on the frame of observation. Earth is almost spherical when observed from a frame which is at rest relative to it. On the other hand, if we make our observations, say, from a rocket ship travelling at a speed very close to the speed of light relative to earth, then it would appear like a (almost) flat disc (See Length Contraction).