France could face an economic crisis after lawmakers voted to oust Michel Barnier’s government after just three months.