Libyan officials say a suspected Ukrainian drone strike has hit a Russian warship at a naval base in Libya.