Space is likely to be the biggest beneficiary of any increased spending on account of realignment. Because of Space being a critical domain, Space Force being severely underfunded, and it needing to consolidate other DOD space activities under its portfolio as possible. Not to mention whatever "Golden Dome" is will require lots of space based capability. Of all the services and portfolios, I expect the space force's budget to increase at the highest pace over the next decade.
"Investing" in shipbuilding will have to be measured. Its a 'invest now' and gain war fighting capability ten years from now sort of bargain given when FFG(X) is likely to deliver any meaningful combat capability (first deployment etc), how much lead time it takes to build an incremental Virginia submarine, or even DDG-51 destroyer. If they go unmanned, then yes that's something that they can pay for in the FYDP and still get some capability within or just outside that period. I would hope funding priorities (for increase) to be Space capabilities followed by Air Force and Naval aviation capabilities (B-21, NGAD/NGF, classified projects, munitions and tankers), followed by ship building and missile defense. Anything in the Army accounts thats not tied to long range precision fires, IAMD, or SHORAD / CsUAS efforts basically is up for a cut to pay for those priorites IMHO.
But right now that's kind of academic. We are not seeing any real increase in budge. In fact, the house proposal is effectively a 2-3% cut over FY24 NDAA factoring in inflation. Stick on that trajectory and your buying power diminishes each year forcing you to make even more cuts to pay for 'priorities'. Do that for a few years and you would have cut one or more services/capabilities to the bone..