Two men who were accused of posing as utility workers and killing a Southeast Michigan man last year have been sentenced.