There is plenty of foreign migration to more than make up for the outflow to other states…of course, not all of the immigrants can afford to buy property.
The more that real estate prices in CA drop, though, the more people will come back to California from other states in the next 5-10 years.