OAKLAND, California (Reuters) - Hewlett-Packard Co CEO Leo Apotheker will testify at the technology industry's most sensational trial in years, and may have to respond to accusations that SAP AG expected to reap billions of dollars by illegally downloading Oracle Corp software.