Electronic Arts said it agreed to be taken private in a transaction valuing the game publisher at about $55 billion,…