Australian police said on Friday they had foiled a plot to attack prominent sites in the city of Melbourne.