Google's sister-company Waymo has announced a trial in which its self-driving cars will ferry shoppers to and from a nearby Walmart store to pick up their groceries.

For now, the pilot is being restricted to 400-plus members of its early rider programme in Phoenix, Arizona.

However, it indicates how the tech giant thinks the autonomous vehicles could be deployed if and when they exit the experimental stage.

One expert said cost would be key.

The only word on pricing so far is a promise to offer participants discounts when they order goods via Walmart's Online Grocery Pickup service as part of the deal.

"If this is rolled out properly you would expect there to be a reasonably high threshold in terms of the price and spend commitment to justify the service," commented Julie Palmer, a retail expert at the consultancy Begbies Traynor.

"You'd expect it to be limited to shoppers buying higher value items."

Google v Amazon

The Walmart partnership had been rumoured after shoppers spotted Waymo-marked parking spots outside the store involved earlier this week, and shared the discovery on Reddit's Self-driving Cars forum.

Some suggested that the tie-up could offer an alternative to Amazon's Prime Now quick-delivery service.

"Google and Amazon are both looking at cutting-edge ways to enter the food retail market, and we're only beginning to see them flex their muscles," remarked Ms Palmer.

The announcements comes two days after Waymo's chief executive tweeted that its cars had driven a total of eight million miles on public roads, which is double what its tally had been in November.

"This real-world experience, plus over five billion miles in simulation, is how we're building the world's most experienced driver," John Krafcik added.

Self-driving rivals have also had announcements of their own this week:

Ford has said it will spin off its autonomous car business into a separate company at the start of August, and plans to invest $4bn (£3bn) into the effort before the end of 2023. General Motors announced a similar move in May

Uber says its fleet of autonomous Volvo cars has returned to Pittsburgh's streets following a fatal crash in Arizona, but will remain under manual control for now to map the city's roads

British transport firm Stagecoach has said it will hold off-road tests of a full-sized driverless bus later this year