In this case, the book as a whole would be copyright Star Wars Corporation, probably a holding entity specially to handle multiple involved copyrights (the copyright to Star Wars itself, etc.), and unlike a Windows install media you won't find a page listing "this work contains parts copyright X, Y, Z". But the contractual obligations still exist.
A lot of "work for hire" contracts don't pay royalties, just a flat fee, but I don't think we'd be talking about this at all if this were the case here -- Foster was evidently being paid royalties until Disney took over Lucasfilm. So the dispute is over the second question. Disney is implicitly arguing that they get out of paying royalties to every single author who created works for companies that Disney subsequently bought, regardless of whether those contracts specified royalties that the predecessor corporations would have otherwise been paying.