Taking this thought a little wider, source code may become less of a strategic asset to a business in general. It could enter the realm of supplies, like paper is used by a bookkeeper, and the strategic asset is how the models are constructed and trained (if at all, and not just SaaS).
The entire ecosystem of software and open source could fall apart as Nth order consequences of a reduced need for humans to create software and collaborate on software. For decades we’ve been improving languages, platforms, libraries as hardware progresses (and contributing to that cycle), all so that humans can put together software systems “at scale”. If non human intelligence takes our place, that ecosystem is simply no longer needed, and I fear that will be a net negative for technology and open source specifically.