According to the Torah (Genesis 11) the tower of Babel was located in Shinar, which scholars place in southern Mesopotamia, and was built at around ~ 1765 BC (here).
The Great Pyramid of Giza was built between 2580 – 2560 BC and is not located in Babylonia or Mesopotamia. However, it stood as the largest man-made structure for ~3800 years. The Torah describes the attempt to build the Tower of Babel up to the heavens (Genesis 11:4 "וּמִגְדָּל וְרֹאשׁוֹ בַשָּׁמַיִם"). Although the Great Pyramid is understood to be a Pharaoh's tomb, the sheer height is unparalleled in comparison with all other ancient ziggurats/pyramids/structures in the general Middle-Eastern area.
Do any Jewish commentaries consider the Tower of Babel to be the Great Pyramid of Giza?
(related question: "Is the Tower of Babel discussed in other Jewish texts?")