Chip Implementation of Accelerator, CIM, and Optical Solution for AI Applications