The ethical dilemma of self-driving cars

If a car is programmed to think for itself, how do we know it will make the right decision? If it has to choose between protecting its passengers or protecting other people on the roads, which will it go for?


https://www.youtube.com/watch?v=ixIoDYVfKA0