One great engineer can impact the world with one lifetime, while one great teacher can impact the world with (class size x years taught) lifetimes.
The average teacher almost certainly has a greater marginal effect than the engineer. The 90th percentile engineer kicks the teachers ass.