Lewis Hamilton was frustrated by some late-race heartbreak at the Singapore Grand Prix on Sunday, but the seven-time world champion still made a piece of F1 history.