The Crown star Claire Foy has revealed she feared she wouldn't "make it past 40" after suffering a number of health scares when she was younger.