The world's tallest building displayed the red and white flag during Turkish President Recep Tayyip Erdogan's first visit to the UAE in almost 10 years