Unilateral disarmament, where one party allows free access to markets while the other party does not, is actually a valid tactic. It's not always the wrong thing to do.
But choosing a tit-for-tat strategy instead isn't some sort of mark against free market capitalism. It just means that America has gotten tired of China defecting.
Which I approve of. Your mileage may vary.
But clearly there is a notion of free market capitalism one side seems to go to great lengths in protecting - which explains why they have been enforcing it under a separate pretense.
And even if this is a tit-for-tat retaliation against China, it isn't indicative of free market capitalism, because the 'tat' would be China closing off its own market and heavy handed government interference in any firm which wants to operate in China.
To those who still think this is about national security and most definitely not protectionist actions: why aren't these companies blanket banned immediately rather than given arbitrary timelines? India has demonstrated it is possible to do so and continues to be a self sustaining democracy.