LeBron James becomes first player in NBA history to score 40,000 points