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