NSW to join Victoria and South Australia in implementing a controversial tax on electric vehicles.