A Japanese man has been sentenced to death for an arson attack on an animation studio in Kyoto in 2019, which killed 36 people and injured dozens more.