Before BNW, machine gun was the most powerful archery unit but was still somewhat underpowered compared to modern mech infantry so the upgrade was reasonable even if they lost the ranged attack. Now mech infantry has an archery peer, the bazooka, and machine gun upgrades to that instead.