Did Newton and Einstein not know that the earth is round when they said earth accelerates towards apple?
They both certainly did know that the earth is "round" (almost spherical or a Globe) and rotating.
But what is rotating is not just the body of the earth but all the mass in the system composed of the body of the earth, the atmosphere, the oceans and everything on the earth.
Newton Said: Earth also accelerate towards an apple but the acceleration of earth is so tiny to detect as compared to acceleration of an apple
Yes, the apple with a mass of 0.1 kg would accelerate towards the earth at very close to 9.8 m/s
2 and
the earth with a mass of 5.9736 x 10
24 kg would accelerate towards the apple at very close to (9.8 x 0.1/5.9736 x 10
24) m/s
2 or near enough to zero.
Einstein said: An earth is a non-inertial frame of reference which accelerates upward
No! Einstein did not say that the earth "accelerates upward". The "acceleration" in General Relativity is not acceleration in the
position in space but in
curved spacetime.
But for most applications the solution using General Relativity is too difficult and is little more inaccurate so most use Newtonian Gravitation.
Were Newton and Einstein flat earther at the time of formulating their gravity equations?
No.
Part of what led Newton to his
Law of Universal Gravitation was the realisation that the same effect was involved in:
objects (maybe the apple
) falling towards earth and
in keeping the moon flying from flying away from the earth.