All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger. We ask Allaah to exalt his mention as well as that of his family and all his companions.
Regarding the first narration, Imaam Al-Munthiri said in ‘At-Targheeb and At-Tarheeb’: 'The narration is not authentic. It is reported by Ibn Abu Ad-Dunyah from ‘Ammaar Ibn ‘Aamir and he is from the generation which succeeded the generation of the companions . So it is not correct to attribute this narration to the Prophet .'
As regards the second narration, it is reported by At-Tabaraani and Al-Bayhaqi but As-Suyooti, Al-Munaawi and Al-Albaani classified it as weak. So, the two narrations are not authentic, however, it is established among the scholars that erecting [high] buildings is dispraised if it is not for a religious reason, or if it leads to neglecting a religious obligation or committing a forbidden act, or that it is beyond the need, as this worldly life is not eternal.
Allaah Knows best.