LeBron James has agreed to a two-year, $85-million contract extension with the Lakers, who could see him become the NBA's all-time leading scorer in 2022-23.