Stephen Curry became the first NBA player ever to score 4,000 three-pointers as Golden State Warriors thrashed Sacramento Kings 130-104 in the NBA.