I understand that Musk was NOT given any patents on his electric-vehicle technology, "...for the overall good of The People".
So, what you're saying certainly has merit.
I think it was Musk himself who made the decision to go "open source." He had the patents, but in 2014 he put them into the world for use by anyone who wanted them. It is basically what Bill Gates did with DOS. There are some good business reasons for doing it. Keeping it proprietary would have meant competition from open source and made it harder to dominate market share. Now Tesla is the standard because all other designers begin using his paradigm. Plus it makes his own organization more competitive.
If you don't make your system open source (as Apple did with its original version of Windows and iith its iPhone) other companies just steal it anyway, and then you end up in court and it gets very messy. In the end, Apple gained very little by having patents for its original Windows-like operating system (which was stolen by Microsoft) and its iPhone operating system (which was stolen by Google). Apple won in court, and they got a few bucks, but not as much as they would have made had these patents not been ripped off.
In the end, Apple might have been better off, at least in terms of market share, by just making it all open-source. There really is nothing that is truly "proprietary" in the digital space, especially when anyone can manufacture in a place like China that does not enforce US patents. Might as well just give them up and focus on your core competencies.