A Jordanian soldier has been sentenced to life imprisonment by a military court for killing three U.S. trainers.