The East Bay-raised actress also joins Anne Hathaway and Matt Damon in the director’s first post-”Oppenheimer” production.