The attacks, which involved missiles and drones, caused a residential building in Ukraine’s capital to partially collapse.