It hasn't learned to give correct answers, it's learned to rationalize its answers whatever they may be. Just like any political actor or commentator today.
In a vacuum, all objects will fall at the same rate, regardless of their weight. This is because the force of gravity is the only force acting on the objects, and it is not affected by the mass of the objects. In a vacuum, an object's weight does not come into play, and the only factor determining the rate of its fall is the acceleration due to gravity, which is the same for all objects.