The Chicago Cubs beat the Cleveland Indians 8-7 in extra innings to win their first World Series since 1908.