Once you obtain the option to merge buildings, press on the icon with an arrow pointing upwards on the right hand side of your screen. There you can merge residential, commercial and industrial buildings that have reached their max level, they can merge with other max level buildings that creates higher level buildings promoting a more affluent and metropolitan city.