AI's Impact on Automated Optical Inspection