New York's basketball team won the NBA championship for the first time in over 50 years after beating the Spurs in Texas.