Zoning is countering. You don't need to kill to counter. If the unit is too beat up to stay on the front or at risk of it (armour is just RNG after all) then it's going to gtfo.
The jp4 is a great TD, but it's a defensive one is an aggressive faction. It doesn't have the chase or burst damage nor the self spotting of allied TDs. It doesn't have the support structure that the su85 has, or turret of WFAA.
ATGs do not make 60 range TDs useless. If that were the case, Allies would be vaporized every single game. It slightly reduces their performance, but what matters in the end is still that you could threaten a kill to really force the enemy tank to the backline and force instant repairs, otherwise your opponent can just repair at his earliest convenience. This is way harder to do with a JP4 than any other TD.
The JP4 also has decent support within its faction. Team weapons, quick and available snares and affordable mines are present in all OKW builds.
The jp4 is good because it must be, from a design standpoint.
OKW gets either squishy lights or expensive but armoured mediums+. You simply cannot lump them in with "other TDs are squishy" and ignore faction design. There is no cheap t34 for shock and expendable awe. There is no Sherman HE. there is no cromwell with flanking speed to get up in them guts. Jp4 gives okw a fighting chance against cheap allied armour whilst still holding true to faction flavor and design.
I disagree on most (not all) of this.
In my opinion, the issue is the following: It does not make sense to get the JP4 at the 15 minute mark, because your P4 will do just as well against Allied mediums while giving you AI to counter the increasing strength of Allied infantry. It allows you to not invest into Obersoldaten.
The price difference between a JP4 and at least Cromwell/Sherman is similar to the price difference of especially the Ost P4 with Firefly/Jackson/SU85. Still, Allied TDs do not have a ~15 seconds TTK vs mediums while Soviets and USF can potentially lack an ATG in their tech. This shows that the cost difference is no reason for a vehicle to perform as strong offensively or defensively.
The next reason could be general faction design. OKW does not need to make up for lack of AT in other areas since they have a decent ATG and snares. If OKW lacks AI, keeping the JP4's AT strong is probably not the right way to do it.
What keeps the JP4 "bad" is not its performance, but its timing within the faction. Either you don't need it (P4 is decent enough at fighting Allied mediums as well as makes up for more and more upgraded Allied infantry around the 15 min mark) or you don't want it later on because P4 and JP4 do not synergize as well.
EDIT: P4 is obviously not better at fighting mediums, but the better package overall. Edited the text to reflect that.