Lewis Hamilton says he is keeping his options open amid mounting speculation he will move to Ferrari when his Mercedes contract expires at the end of 2020.