A Philippine court has acquitted journalist Maria Ressa and news outlet Rappler of tax evasion, ending years of trial for cases she described as “politically motivated”.