My comment was largely about a situation where there there is no ethical choice involved.
For example: something comes in front of a car and a decision needs to be made, whether to turn left into the opposite lane, or whether that is dangerous and only brakes should be applied. Humans have a hard time making this decision, because it's hard to asses situation quickly.
The decision to only apply brakes (a common advice to people) - is only safe in the sense that in most cases it will be the safe thing. There will be cases where it will not be safe - but they will be in minority.
A machine will be better equipped at assessing whether driving onto the opposite lane is dangerous in that specific situation. If it is not dangerous for anyone - the machine will be expected to do that, instead of applying brakes, because in that specific situation it will be the safest thing.
The choice here is not an ethical one, it's purely computational one. There are situations where there is no one in the opposite lane, and it is simply safe to turn there. But humans are generally not trusted with being able to make that choice - because of poor computational ability (in such restricted timeframes).
Of course there are ethical considerations for other situations.