MELBOURNE, Australia — The powerful serve that carried Serena Williams to 25 consecutive wins suddenly became the target of Ana Ivanovic’s attack in a major fourth-round upset at the Australian Open.