Probably the other way around. The idea behind outsourcing is that you move the generic labor abroad and keep coordination and control onshore. AI can now do the generic labor for even less, so you'll likely see small onshore teams using AI instead.
AI won't end silicon valley, but could still shrink it significantly.