This article tells how a combination of concrete and steal lets one the of tallest skyscrapers in the world move with forces including wind. Also there is a 660 ton ball hanging in the upper floors that acts as a pendulum and counter weight.

https://www.cnn.com/2024/04/04/style/taipei-101-earthquake-design-intl-hnk/index.html