The race to build artificial intelligence is getting incredibly expensive, and even the world's richest man is taking notice.