Max Verstappen and Valtteri Bottas went wheel to wheel for second place, with the Mercedes just hanging on at the Styrian Grand Prix.