Foreign investors have been wary about buying Mexican commercial real estate ever since Donald Trump was elected president partly on a threat to shred the North American Free Trade Agreement if that pact with Mexico and Canada couldn’t be overhauled.

Now, just as three countries have settled on a new trade deal, another concern has surfaced that is keeping many investors on the sidelines in Mexico: the possible antibusiness policies of the country’s new leader, President Andrés Manuel López Obrador, a leftist nationalist.

...