Just because a software is closed-source doesn't mean the knowledge can't be shared. You don't need to see the underlying code to explain to someone architectural patterns or best practices.
The library analogy in the scenario would hold true if LLM providers refused to answer any questions about RL or Transformers.
I am a big proponent of open-source open-weight models, but mostly because I think it's just a better product. We've seen that they are much cheaper to train and operate. Frontier intelligence might not be needed for most tasks. Just let the market decide. My bet is that LLMs will become analogous to programming languages, and big labs will make their money by fine-tuning models for very specific use cases or by deploying them for customers.