Nicolo Martinenghi stunned Adam Peaty to win the Olympic 100m breaststroke gold medal on Sunday, denying the British great a third straight title.