Four people have been charged by French authorities under suspicion of spying on sensitive military data for China.