The increase reflects higher investment in AI infrastructure, alongside efforts to cut costs through planned layoffs.