On the emergence of plate tectonics