Fractal gravity