The bill would restrict the purchase of property by individuals acting on behalf of Russia, China, Iran or North Korea.