What a flippant and short sighted thing to say. I've known people whose car was broken into and had their medical devices, medication, and clothes stolen. That's more of a problem than a tourist's camera.
Regardless of your opinion on car transportation in cities the idea that victims of a crime should take the blame because they left something valuable in their car and locked it is the same as saying a rape victim is at fault for the crime because of what they were wearing. It is pretty sickening.