The AAA batteries have a bypass capacitor that supplies as much short-duration current that is needed.Please explain how TV remotes get 1A out of two AAA batteries?
Don't forget that the IR LEDs are pulsed only for short moments so they don't get too hot.