San Francisco has nearly 8 times higher population density than Auckland.
Add to that other factors like the size of the CA economy (wealth attracts crime), a lax criminal system, attractive social services (compared to the rest of the US), etc etc. It's an apples to oranges comparison.