A US veteran was sentenced to life in prison Friday for killing five people at a Florida airport massacre last year.