A bid to remove the power of US military commanders to decide whether to prosecute sexual assault cases has failed with the Senate rejecting a controversial bill. The measure came just five votes short of success, failing even though it was championed by a Democrat with Republican support.