Lewis Hamilton says Formula 1 has made clear progress bringing in people from more diverse backgrounds over the past five years.