Einstein gravity as an emergent phenomenon