Shares retreat as real estate stocks fall sharply