Hard disagree. Utilitarianism doesn’t work that well, as it tends to lead to favor the powerful as you balance the utilitarian books. I get a lot of utility out of saving Elon Musk, or making Elon Musk happy because he has money and power and thus control over millions of people directly or indirectly. The homeless guy we remove park benches to keep out of a park, well, he’d only benefit the utility of humanity by freezing to death. And thus it is on a thousand such interactions. It’s better for the self driving car to kill a pedestrian than the driver simply from the included calculation that nobody would ever buy the car controlled by an AI that would even potentially choose to do anything other than save the passengers at all costs.