Samsung Electronics said Friday that the discontinuation of the Galaxy Note 7 would cost the company about $3 billion during the current and next quarters, bringing the total cost of the recall to at least $5.3 billion.