AI’s free-for-all era may be coming to an end—as companies start counting the cost Fortune