Hayek's claim in 'The Road to Serfdom' wasn't a warning that any country that reduces economic freedom will necessarily become totalitarian. He was providing a warning that this can happen.
He played a major role in providing the intellectual basis for those countries that avoided the fate of Venezuela, and liberalised their economies. And notice that the strongest example of how liberating the economy can precede political freedom, is Chile.
Just to see the difference between these two countries, the chart below shows GDP per person from 1950 to 2016. Try to guess which is which: