A three-year-old riding a scooter has been hit by a car as it backed out of a driveway.