Ukrainian officials say Russia launched nearly 900 drones targeting energy sites, railways and other infrastructure in an attack that lasted more than 24 hours.