Sienna Miller has revealed she was warned she could become 'obsolete' when she turned 40 due to a lack of roles for older women.