Alphabet, Microsoft and rival giants are set to spend some $5 trln by 2030 to dominate artificial intelligence. Funding from shareholders comes with an expectation of widespread success while sustaining high profitability. Financial history suggests it rarely works out that way.

