The NSW government is creating a heavily resourced policing unit of around 250 officers, prioritising hate crimes above other violence.