Lumentum Holdings and Applied Materials are important players in the AI infrastructure space, which explains why their stock prices have been soaring this year.