Max Verstappen took pole position in a nail-biting Qualifying session at the Saudi Arabian Grand Prix, fending off McLaren driver Oscar Piastri by just 0.010s.