The comments mirrored warnings from Ukrainian leaders about the risk of winter attacks on energy infrastructure disrupting power and heating supplies.