Patrick Stewart's cause of death has been revealed, three weeks after the Star Trek icon's passing at 86.