Former US president Donald Trump was found guilty on 34 felony counts related to falsifying business records.