As the largest cloud companies design more of their own AI chips, two semiconductor specialists are capturing a fast-growing slice of that spending.