Investor enthusiasm for companies linked to artificial intelligence boom has waned this year