George Russell secured pole for the Austrian Grand Prix after Max Verstappen crashed during qualifying due to an ERS malfunction.