The moves threaten to upend huge swaths of the real estate market and the half-trillion dollar market for commercial mortgage-backed securities.