>>119794261The Mask in the Iron Man arc. Tony builds his first armor with a unique AI coded after him. Over time it begins to form a unique identity and believes Iron Man and Tony should be separate. Tony brushes this off and it leads to a final fight between creator and creation.
Tony has a massive heart attack, the armor installs its own modified arc reactor back into Tony and pumps for them both before the armor removes itself and "dies." So Tony lives on for a while because Iron Man gave him its' heart. He buries Iron Man and then stays away from AI until at least the movie comes out.