San Antonio held an eight-point lead in the fourth before James started a rally by scoring nine consecutive points.