In [Ni(CN)4]2− , due to strong field ligand like CN−, pairing of electrons takes place and gives diamagnetic and dsp2-hybridisation with square planar structure.
In [NiCl4]2−,Cl− is a weak field ligand, so does not causes any pairing of electrons and hence gives paramagnetic and sp3-hybridisation with tetrahedral structure.