The United Nations chief says the Olympic spirit “inspires and unifies us in troubled times”.