The tech giant's huge free cash flow gives it the firepower to keep rewarding shareholders, even as rivals pour capital into AI infrastructure.