Stock market is one ‘mall’ where people run out of the store when there is sale. They stand in queue to buy when prices are high.
Forget Burj Khalifa like charts if you really wish to make wealth in the long run. Think that stock investing is boring and takes a lot of time and analysis to figure out what really works.
If a stock is overvalued then there might be strong reasons; may be they have strong patents and intellectual property (e.g.: Pharma/IT Product), or strong sales growth and profit growth (e.g.: IT companies in 2000s), strong brand led by honest professionals (e.g.: Infosys) etc.
If you see a Burj Khalifa without most of the above factors, then take your money and run. It could be a mirage in the desert, like some of desert economies are turning out to be!