Britain will soon regret voting for Brexit but the European Union will move on, the European Commission president has insisted.