Lewis Hamilton tightened his grip on securing a fifth F1 title by coming from nowhere to claim a stunning pole position.