Technology giants step up investment in AI