How could it be obsolete since the Civil War if it continues to be used in every war as an irreplaceable tool of last resort, and as an irreplaceable tool called a knife? If anything it should be better designed so that soldiers are not driven to carry multiple knives.
There is no reason that the military could not design a popular combat knife that could double as a bayonet.