Spain is about to end its “golden visa” scheme. Under this scheme, foreign investors could get residency in Spain by investing at least 500,000 euros.