Military action against whom? the US can’t even handle Iran let alone China.
America doesn't want to pay the price of handling Iran. There's a difference. Clearly the US could conquer Iran but it requires a land war with mass casualties, not just sporadic bombing.
Obviously China is in an entirely different league.
Americans live in their own plane of reality, where they play the superhero surrounded by evil villains.