New Zealand went down to India by four wickets in a hard-fought title clash that was decided in the penultimate over in Dubai.