SAN JOSE, Calif.—Testimony from a former Theranos Inc. product manager in the criminal fraud trial of Elizabeth Holmes has shed light on the startup's race to court investors and business partners and the shortcuts it took when its blood-testing devices failed.