LOS ANGELES — "Moonlight" won the best picture trophy at the Academy Awards in a historic Oscar upset that followed Warren Beatty at first reading the wrong winner.