Sophie, Duchess of Edinburgh, on Monday became the first British royal to visit Ukraine since Russia invaded the country more than two years ago.