Michael Cohen, the former lawyer to Donald Trump who once said he’d take a bullet for the president, has been given a 36-month prison sentence.