Shares of companies that own shopping centers, hotels and New York office buildings were decimated most of last year but mounted a first-quarter comeback, as investors bet that a vaccine rollout can revitalize these hard-hit businesses.