No. Plenty of companies have huge R&D in technology. Tesla is a car company because its revenue comes from selling cars, not AI. If Tesla had to survive selling AI or software it wouldn’t have lasted this long.
Another valid view is that Tesla is a parasite on the public dole that also happens to make cars.