Investors are growing wary that aggressive AI investment may pressure profits, especially for software companies