Cops shoot knife-wielding man in Sydney