Photonics used in AI is different to what you would expect. I can't see photonics replace the transistor and VLSI stack of computers. For networking however, high bandwidth photonics is well on its way to replace copper.
https://www.youtube.com/watch?v=kS8r7UcexJU