Raising barriers to entry in tech in the name of national security could stifle global AI development.