Trump warned Germany of becoming ‘totally dependent’ on Russian energy at the UN in 2018