The People's Action Party won by a landslide in an election dominated by concerns over the cost of living and the economy.