The world’s most valuable company and a troubled Chinese electronics manufacturer that’s about to be delisted from the Hong Kong stock exchange unless it can come up with some cash squared off in a Shanghai courtroom Wednesday.