A man is holding hostages in a supermarket in southwestern France and has been shot to death by police.