Seventeen people were sentenced to death by a Houthi court over accusations of providing intelligence to foreign powers including Israel and the US.