Right. The trolley problem assumes vehicles can make optimal split second decisions while right now Tesla can't even tell the difference between the road and a lane divider reliably.
https://arstechnica.com/cars/2019/03/dashcam-video-shows-tes...
https://arstechnica.com/cars/2019/03/dashcam-video-shows-tes...
There is no right answer to that question, because I didn't specify what the animal is. Whether the animal is a baby deer or a human child will influence your choice. This isn't contrived. When I hit a deer, I made a choice to stay on the road. Had it been a child, I would have swerved, endangering myself in the process.