While I get your argument, Apple probably just doesn't give a shit about competing in the ultra cheap phone market, they've found their "niche" (for lack of a better term) and will probably stay the way they are for the foreseeable future.
Also, nowadays, most people (the vast majority of which don't think the same way as people on HN do) see a $400 phone as a compelling budget option[0], maybe even "low-end" if you'd go so far as to say that.
0. from personal experience with the iPhone SE2, it's a genuinely amazing phone for the price (sporting the same processor as the iphone 11 pro!) and suffers only in the battery department. Touch ID is also a great selling point for it.