Fractal universe and cosmic acceleration in a Lemaitre-Tolman-Bondi scenario