The Pixel actually costs more than twice as much as the iPhone.
Annual Cost of Ownership
iPhone SE 2 = $66.50 year
Pixel 4A = $139.60 year
(A budget shopper will not likely be upgrading from the base model, so the upfront savings remain at $50. Further, a true budget shopper looks at the annual cost of ownership. With the iPhone 6+ receiving 6 full years of system and security updates, the SE 2 with it's flagship A13 chip will likely receive 6 years too. The Pixel 4A will get 2 years of system updates and 3 years of security updates, so let's call it 2.5 years.)
Not really, the upgrade cycle for consumers is around 2.5 years, so it makes no difference how long Apple provides support for, in the main, consumers won't keep it that long.
in the budget marketplace, the upgrade cycle tends to be closer to 2 years as it's affordable for more and allows them to upgrade more often.