LeBron James finished one rebound short of a triple-double as the Miami Heat took their winning streak to 27 matches by beating the Orlando Magic 108-94.