And the king of France died a robot (7)
I believe the answer is:
android
'a robot' is the definition.
(android is a kind of robot)
'and the king of france died' is the wordplay.
'the king of france' becomes 'roi' (I've seen this in another clue).
'died' becomes 'd' (abbreviation next to the year of someone's death).
'and'+'roi'+'d'='ANDROID'
(Other definitions for android that I've seen before include "Robot resembling 17" , "Operating system for mobile devices" , "Human-type robot" , "Automaton that resembles a human being" , "Human-like robot" .)