The Spanish government has fined property rentals giant Airbnb €64m (£56m) for advertising unlicensed apartments.