US car maker Ford says it plans to end its vehicle production at its German plant in Cologne in 2028 due to high costs and weak demand.