Chinese President Xi Jinping is visiting Cairo, where China and Egypt are expanding technological, military and strategic cooperation.