Sure, we'll just write down all the things there are in the world in order of how bad it is for a car to hit them.
It's completely feasible to imagine writing a list of the top, say, 100 things in the world that a car needs to make morally-significant decisions about, and then deal with every other accident or near-miss after the fact. Interactions with unrecognised objects should be rare enough to be a rounding error when comparing accident rates between autonomous and human-driven miles.
If it’s choosing between hitting a pole and hitting a pony, it should always hit the pole so long as no one is injured.
The real problem is that occasionally these cars today mistake roads for oceans, walls for roads, and people for inanimate poles.