Photonic processor could enable ultrafast AI computations with extreme energy efficiency