I think you have this backwards. The missing magic is consequences. From there, AIs that avoid bad consequences (reduced compute budget?) and seek good consequences (??)
may develop a 'want' heuristic that favors those things. Or rather, the ones that do will be more successful and the ones that don't will die out.