Britain plans to extend Palantir's NHS contract by £330 million while preparing a new tender that could replace the US company with a British provider within two years, despite criticism from lawmakers and Labor activists that ending the deal early could disrupt NHS data systems.