A man has been sentenced to five years in prison for setting vehicles on fire at a Tesla facility in Las Vegas.