June 22 (Reuters) - Krispy Kreme Inc is looking to raise as much as $640 million through a U.S. initial public offering, according to a regulatory filing on Tuesday, valuing the donut chain at nearly $4 billion. (Reporting by Sohini Podder in Bengaluru; Editing by Krishna Chandra Eluri)