Germany will not follow the United States in delivering long-range cruise missiles to Ukraine, Chancellor Olaf Scholz says.