UN secretary-general Antonio Guterres has warned war in Ukraine could become a wider war with "profound global implications".