Jaguar Land Rover Ltd. said it intends to build electric cars in the U.K. if the government can overcome shortfalls in available energy and infrastructure investment, potentially giving Britain a manufacturing boost as it leaves the European Union.

Jaguar Land Rover's expression of interest in building electric cars in the U.K. follows a commitment by Nissan Motor Co. to continue manufacturing at a plant in Sunderland, England, after the Japanese company said it might ask the U.K. government to compensate it for any negative consequences of Brexit.

Jaguar Land Rover, which employs about 40,000 people in the U.K., said it aimed to build new facilities and lift its payroll in the country, without committing to a specific number of jobs. The expansion could create around 10,000 positions, said Martin Yardley, chief executive officer of the Coventry & Warwickshire Local Enterprise Partnership, which promotes the economy in the region where many of Jaguar Land Rover's U.K. operations are clustered.