"2018 was Apple’s last major step down in cost per transistor due to TSMC’s N10 to N7 process node shrink. With the transition from N7 to N5, the cost benefits were relatively small due to SRAM scaling issues. N7 is entering its 5th year of production, and N5 is now at its 3rd, yet the only hint of per wafer pricing changes have been in the wrong direction... Due to the way the 3 major DRAM companies have slowly increased output, cost per bit of DRAM has not really fallen."
Sophie Wilson (inventor of the original ARM instruction set) has been saying that cost-per-transistor has been rising for several years.