Amtrak is receiving a $2.45 billion loan from the federal government to buy new trains, upgrade tracks and make platform improvements along the busy Northeast Corridor, the largest such loan ever by the Department of Transportation, officials announced Friday.