Rolls-Royce is riding two of the biggest investment themes in global markets: the defense boom and the AI buildout.