Investors' concerns are growing over artificial intelligence spending by the US tech giants. A Goldman Sachs report provides a glimpse of investors' worries regarding profitability from heavy AI spending.