France and Germany want to quit relying on America and China for key technology like artificial intelligence, but they’re having to choose where to do it.