Governments and private companies are increasing investments in artificial intelligence as demand for automation, productivity, and innovation continues to grow.