A Japanese man has been sentenced to death for taking the lives of 19 disabled people in a 2016 killing spree.