Hot water tank is now redone.
I'm not worried about that insulation being so close to the stack. I routinely put my hands there and am confident there's no chance of melting/ignition. I wouldn't hold my hand on the metal for long though...
Basically, it's not as close as it looks in the picture.