It’s not the same because the president doesn’t represent society in a democracy in the same way.
For Egypt, the pharaoh was the thing that made Egypt. Kind o like the Dalai Lama or Jesus, the pharaoh was the son of horus, the incarnation of the principle of ruling. I am not an expert but I would say that the pyramid was built for that principle and not the person itself, whereas Trump has a Trump tower to make himself known.
If it isn’t Trump but e.g. Taylor Swift, I could imagine fans to build something for her, e.g. her next stage set, if she offers to provide food and housing.
For democracy though, society should build something that doesn’t celebrate one person but the community. E.g. China has a day when every citizen plants a tree. When you see the effect after some years, you can feel the transforming power of the community.
Just one article about the work conditions: https://africame.factsanddetails.com/article/entry-190.html
It could be that building the pyramids was not the regular job of the laborers. It was a communal experience like going to burnig man.
Society would be different if there would be one project that everybody builds together. It would be as unifying as a big war, without the disadvantages of a war.