I would guess several factors:
Get more workers into the Social Security Ponzi scheme
Cheap labor
More future voters, and both the Dems and the GOP feel they can win the battle for those voters.
And, like you said, to keep the real estate market propped up as well.
Add one: A way to print money that leaves the country for good, similar to drug money and petrodollars.