Yes, it is necessary to have some mode of transportation when visiting Sardinia. Restaurants, beaches, and hotels are spread out along the coast and interior regions. I highly recommend renting a car. Taxis are very expensive and Uber is not available.