Tanks' value doesn't come from their invulnerability. They weren't invulnerable since WW1, if ever. Their value comes from being better than alternatives.
As for Javelins, Javelins don't need operators that have to sit still and blind, guiding their slow drones to targets. Javelins don't need dedicated operator teams, US army more or less hands them to infantry platoons as needed. Javelins don't need "infantry cover", their operators are infantry. Javelins are fire and forget, so you can shoot and immediately leave, unlike drone teams. Javelins don't require extensive training and fine skill.
The only thing Javelins don't do is first person videos. See my original point about drawing wrong conclusions from footage we get to see.