So then
1. Should pikemen also immune to warriors and swordsman in addition to advanced era outclassings?
2. And then Man At Arms (great weapons infantry, or what are the other names for this unit?) should, not only deadly to spearmen but also pikemen killer but not work against Pike&Shot?
3. Did the battles of Neerwinden an impetus for France to re-train pikemen into Line Infantry? and to equip musketeers with bayonets and train them how to use one? Did pikemen of the final years of 17th century still wear cuirass and helmet of any kind?
1. NO. No melee weapon is completely immune to another melee weapon: Roman legions destroyed Macedonian phalanx in the fifth Macedonian War, despite the terror that facing a pike phalanx instilled in the legionaries (we actually have an eye witness account of this from a Roman soldier). Pikes in the attack should have a bonus versus any non-pike melee, but the other side of that is that pikes required the ability to maintain formation, so had a serious malus when trying to fight in, say, forests, rainforests, or marsh.
2. The Man at Arms, I use to refer to the man carrying a two-handed weapon. Most of those depicted from the time (10th - 14th centuries CE) were carrying long-handled axes, so Axeman could be used. The two-handed swords had a lot of individual titles, but generally were referred to as Great Swords, so if you want to depict a two-handed swordsman, Greatswordsman could be his title. Later, as part of the Landsknechts' pike formations, such swordsmen were called Double Pay Men, but that phrase, as far as I know, was never used for swordsmen as a separate group. The long-handled axe was the characteristic weapon of the Saxon Huscarles, but they should probably be reserved for an Anglo-Saxon UU.
3. Neerwinden and similar battles in the 9 Years War definitely influenced the French into doing away with the pike, but the biggest influence was the invention of the bayonet, which allowed a musket-carrying infantryman to do a pike's job as well as shoot. The ring bayonet was adopted in 1697 by German and English armies, both of which banned the pike in their armies in the same year. France adopted the (much better) locking socket bayonet in 1703 and by the following year at the Battle of Blenheim there wasn't a pike on the battlefield in any of the armies, which on that field included French, Bavarian, English, Austrian, Prussian, Danish, and Dutch troops. Since the adoption of the bayonet coincided with the general adoption of the flintlock musket, or fusil, I have suggested frequently that the two developments be combined into one with a new unit, the Fusilier, which has both twice the firepower of a matchlock musket (the 'musketman' of Civ VI, based on the graphic and timing) and also has an Anti-Cav bonus, though possibly not quite as good as a Pikeman's. Both Pikemen and Musketmen should upgrade to Fusiliers, because from that time on the basic infantry were all gun-carriers and should really be a new Category: Firepower class infantry.
This would also neatly allow the game to show the "Revolution in Military Affairs" historians write about for the 17th - 18th centuries.