Forced perspective.
Actually, very little CGI went into resizing the actors - they used camera and actor placement to make people appear larger or smaller...
"He who fights with monsters might take care lest he thereby become a monster. And if you gaze for long into an abyss, the abyss gazes also into you." - Friedrich Nietzsche