Olivia Munn had her eggs frozen "years ago" after seeking advice from her close friend Kim Kardashian West.