The UK could be at risk of a holiday home tax like that announced by the Spanish Prime Minister amid its housing affordability crisis.