Artificial intelligence is attracting increasing public attention and profit, and the global AI market was valued at $500 billion last year.