Since the official 6-50 adapter isn’t available anymore, that may be difficult. If you want versatility, yes, the 14-50 extension cord would be the way to go. I have a 30 foot Camco 14-50 extension cord (search Amazon), and some pigtail adapters I got from EVSEadapters.com that go to 10-30, 14-30, and TT-30. They also have 6-50 ones as well.
So that is a very useful solution. However, I do have a recommendation. At 30 feet or 50 feet, a real 14-50 extension cord is very heavy, stiff, and difficult to work with. I would recommend making your own cord because of this:
A 14-50 has four pins: hot1, hot2, neutral, and ground. The Tesla charging system doesn’t use the neutral in a 14-50 and doesn’t even have it connected in their adapter. So if you buy a real 14-50 cord, that is 30 or 50 feet of a pretty heavy extra wire that you don’t need, and it adds a few extra pounds and makes it less flexible. So I would recommend to just buy a length of copper 6/2 cable, and the Camco plug and receptacle ends and build your own. It’s not very hard to strip the wire and attach the ends. That will give you a cord with all of that usefulness, but it’s easier to work with.