>>64096130
Usually when this happens to 6mm-ish hunting rifles and stuff, it's the throat of the bore which is eroding, which is why accuracy goes to shit on those after they've done their 5000rds, even if the rest of the barrel and the rifling is still in pretty good condition.
There really isn't any free lunch here, you could do something like Stellite alloy liners, like was done on the M60E3 and M2HB barrels, but that shit is NOT cheap, and is specifically done to improve the lifespan of machineguns which are expected to lay down heavy fire on the regular.
Stellite lined barrels are very expensive even today. Unless there's some revolutions in metallurgy to economize stuff like that, or finding a less expensive alternative, I really don't think we're gonna get away from things like these eating rifle barrels too quickly for military service.
That might happen too, but who knows when that is? That could be 80 years into the future for all we know, and even if that happens I would much rather insist to apply high pressures like these to a proper intermediate cartridge in the 5mm to 6mm range, so you can have that light ammo and light recoil necessary for fire superiority.