The company's outlook indicates a significant turnaround, driven by increasing revenue from artificial intelligence-related products and services.