General Electric Co. is in talks to buy Alstom SA, the French builder of trains and power plants, people with knowledge of the matter said, in what would be GE’s biggest acquisition ever.