A taxi driver managed to drive himself and his passenger, who is known to police, to hospital after both were shot through the window of the car in Sydney’s north west this morning.