Slovakia has threatened to cut electricity supplies in retaliation for Kyiv ending Russian gas transit.