Tesla accumulated surplus/deficit (e.g. lifetime net consumption of cash) is much higher than it's lifetime gross burn ($6B) so it's definitely in material value creation territory.
This has also been clear to dedicated observers since 2017 or so, albeit with significant unresolved risk. The market finally priced it in around 2019-2020.