The Federal Reserve’s interest rate hikes have crimped transactions and pressured landlords — particularly owners of office buildings that were already hit by the rise of remote work. As costs mounted, property valuations tumbled, pushing some investors to walk away from certain buildings instead of continuing to throw good money after bad.