WASHINGTON — Duke Energy said Thursday that it had dropped plans for a $24.7 billion nuclear reactor complex in Levy County, Fla., on which the company has already spent $1 billion, most of it collected from customers.