Three innocent people shot while sitting in two parked cars in Sydney were targeted by a crime gang who mistakenly believed they were there to attack them, NSW Police say.