It takes greater force to accelerate an object that has more mass. But the gravitational force between the Earth and an object is greater when the object hass more mass. It works out just right to make any object with any mass accelerate at the same rate.