New Zealand secured a nervy six-wicket victory over Scotland in Bristol before Chamari Athapaththu's record-breaking century powered Sri Lanka to a commanding win over Ireland, as both sides kept their Women's T20 World Cup semi-final hopes alive.