Turkey's president has warned against spreading the Ukraine conflict to NATO, saying any actions that could lead to this scenario must be prevented.