The Duke and Duchess of Sussex will stay in a mansion worth $40 million when they visit Sydney for the Invictus Games in October.