Could have, but pilots practice no fuel landings all the time (in simulators). If they can get to ground that is "level enough" nobody dies. It is not something you ever want to see in the real world (and in the real world people often do die when it happens), but it isn't automating people die.

I don't think that's all that true for airliners. Pilots definitely practice for engine-out scenarios during all levels of training up to the airlines, but the ability of a plane the size of a 737 to safely land on anything but a runway is...limited. And if you're low, slow, and trying to go around, that's not a lot of time to glide to ground that is "level enough".

i didn't mean to imply no runway landings. Landing on grass is questionable. They would practice water landings though

Those landings are practiced from a reasonable altitude.