British inventor James Dyson has dropped out of the race to produce electric cars in the face of stiff competition and after criticism of the Brexit-backing billionaire's decision to build the vehicle in Singapore.

Dyson, famed for his bagless vacuum cleaners, announced two years ago that he was developing an electric car as part of a ?2.5 billion ($3.1 billion) investment drive in future technology, with the first vehicles expected in 2021.

The ambitious project catapulted the 72-year-old entrepreneur into competition against more established players such as US firm Tesla, founded by business magnate Elon Musk, and carmakers from the US to China.

Adding to his difficulties, the plan ran into controversy when the company revealed that its first car plant would be in Singapore and its global headquarters were shifting to the affluent city-state.

Dyson insisted it was to be closer to booming Asian markets -- but there was fury that the tycoon was not investing more in UK manufacturing after vocally supporting Britain's exit from the European Union.

There had however been little indication that Dyson was having second thoughts about the high-profile project, which hundreds of employees were already working on, until an announcement late Thursday of the abrupt U-turn.

Dyson said in a statement that his team had developed a "fantastic car" based on an "ingenious" approach but added: "Though we have tried very hard throughout the development process, we simply cannot make it commercially viable."

"We have been through a serious process to find a buyer for the project which has, unfortunately, been unsuccessful so far," he said.

There are 523 people in the automotive team, the majority in Britain and 22 in Singapore, a spokesman said. Dyson said "as many of the team as possible" would be reassigned to other roles in the company.

Singapore government agency the Economic Development Board predicted the decision to ditch the project would have a minimal disruption on Dyson's operations in the Asian trading hub, as it was at an early stage.

Tough project

In May, Dyson unveiled brief details of patents filed for the electric car and said it would be more energy-efficient than rivals -- and with "very large wheels" for city and rough-terrain driving.

British industrial design engineer James Dyson said his company's electric car project was not commercially viable
British industrial design engineer James Dyson said his company's electric car project was not commercially viable AFP / Christophe ARCHAMBAULT

But analysts were sceptical about the plan and not surprised about the change of heart.

"From the first instance it was always difficult to understand why Dyson thought that it would have any sort of competitive advantage in actually embarking on this project," Walter Theseira, a transport economist at Singapore University of Social Sciences, told AFP.

"Given the global competitive landscape, you're adding a new manufacturer which is untested in the car industry."

Nitin Pangarkar, from National University of Singapore's Business School, added the car industry was becoming "less attractive" as cities create better public transport networks and consumers change behaviour through steps such as sharing rides.

"Dyson's resources... are probably better spent elsewhere, in products similar to its current businesses," he added.

Electric vehicles are increasing in popularity as governments worldwide seek to phase out polluting petrol and diesel cars, but producing them profitably is a challenge even for leading manufacturers.

While Tesla has strong consumer appeal, investors have been frustrated by the pace of production and the company's inability to hit its financial targets.

Despite dumping the project, Dyson insisted the company would continue a $3.1 billion investment programme in new technology, including the manufacture of batteries, robotics, machine learning and AI.

The company in May completed the move of its headquarters to Singapore, where many international firms have their Asian bases, and Dyson has since made headlines by going on a property-buying spree.

He reportedly paid Sg$74 million ($54 million) for Singapore's biggest, most expensive penthouse -- a three-floor residence with a rooftop terrace and jacuzzi.

And the tycoon also bought a luxury house complete with an indoor waterfall, spiral staircase, landscaped garden and infinity pool, according to local media.