Artificial intelligence is getting expensive -- and companies are starting to rethink their embrace of the disruptive technology.