Not sure about After Effects, but Fusion has a wire-removal tool where you just mark the lines on the shot and it automatically removes them (with a few sliders for how wide the wires are, etc). As well as wires I've used it for removing power cables, etc, that were accidentally left in the...