Don't believe everything you see on internet
Any one can be head of xxx on linkedin
tech lead at Tesla
Depends on company culture and opportunities. If they started with a good baseline (very strong aptitude and knowledge), then two years of solid work can definitely get you to the skill level needed to be a tech lead of a small area (2-3 people). Requires both hard work and luck (and skill of course)
You can be tech lead too if your team is one person.
Anyone can lie on linkedin