Tyson Fury beat Deontay Wilder by knockout in the third of their trilogy bouts.