Kyrgios, who is currently 671st in the men’s rankings, beat the four-time Grand Slam singles champion in straight sets.