Ending ruins smart sci-fi movie

Rating: 6/10 (27 February 2017)

Most of this opinion 'review' will contain major spoilers about the ending.
This is the kind of sci-fi I really like: Intelligent, challenging, with an exploration of big themes on humanity via a sci-fi element or a tweak to reality.
The themes are about language changing the way people think, rather than vice-versa, and it's about a very special tool/weapon that aliens bring to humanity. The story is about a language expert brought to try to communicate with the aliens via their very challenging alien form of language.
At first her methods look really sloppy and dumb, as she assumes that pointing to herself with a name card will communicate anything concrete and unambiguous, and that aliens have names. But it improves greatly after that.
The majority of the movie is very interesting and well done, including the cinematography, sound and effects. It's the ending that ruins everything.
She discovers that their weapon is really the gift of their language, which constructs sentences and concepts instantly without regard for the sequence of events. Thus, by really learning and practicing this language, the human mind gets re-wired and can actually rise above time and see the future. They give this to humanity in a way that will bring them together and cooperate, because they saw a future where the humans will help them in return. And then they leave with their mission accomplished.
Which is all very well and interesting, except that what do you think the military and governments that were all ready to kill each other throughout this movie, will do with the super-weapon of seeing the future? And what would the military do with people who can or have developed this ability?
Which is why the whole ending stinks and reeks of bleeding-heart, simplistic, childish naivete.
A belligerent Chinese general changes his mind just because she told him his wife's dying words, when obviously the only thing he would have assumed would be that someone bugged the room he was in. And even if he believed that she did it because she saw the future, his first priority would be to kill such a dangerous threat!
The movie hints that perhaps she is the only one that developed this ability because of her gift with languages and she used it for the good of mankind. Which is impossible to believe. As if the governments wouldn't put thousands of people on it to try to acquire the gift and use it for themselves. And even if they didn't succeed, obviously they wouldn't let her go free, and rival governments would want to kidnap or kill her. But no, this movie wants you to believe that suddenly humanity became peaceful just because someone can see the future. What an unfortunately silly ending.