Swansea City conceded three times at the end of the second half, allowing Tottenham to claim a 3-1 victory.