Artificial intelligence is transforming industries at an unprecedented pace, and investors are taking notice.