A major Australian petrol station chain will change hands in a $3b deal after a Japanese buyer nabbed the assets from an American giant.