A driverless bus service thought to be the first of its kind in the world is to be pulled because of a lack of passengers.