When General Electric Co. recruiters started asking superiors to sign off on generous pay packages to lure engineers to a new software division in 2012, the bosses balked: You’re not competing with Google and Amazon, they said.

Four years later, GE’s thinking has changed: tech talent is what the conglomerate is after, at tech talent rates.

The...