You're right, there should be some failsafes built in to the engine programming that manual transmission cars would have. Under normal working operation the automatic never sees the real redline though. The engine problems are a symptom and not the cause.
It's above my pay grade to figure that one out.