Investors are questioning how quickly Big Tech's massive AI infrastructure spending will translate into profits.