A US jury has acquitted the man the US blamed for the Benghazi attacks of the most serious charges against him, but he still faces decades in prison.