Olivia Wilde, 32, lost a role to Margot Robbie in Wolf of Wall Street because she was deemed to be too old.