Stop having reviewers point out that extra couple mm as being a "glaring design flaw" or comment on "how extra chunky" the phone is.
FWIW rugged, durable, battery replaceable devices have repeatedly failed on the market. Notably, Motorola tried, and failed. Everyone bought Samsungs.
And it isn't like there are very many phone reviewers for any given market. If someone wanted to organize a letter writing campaign to try and convince the top 5 or 10 phone reviewers to just not mention device thickness that just might have an effect.
(On the flip side reviewers complained about the removal of the headphone jack and that didn't help any so...)
The other thing to remember is that with modern battery charging tech, batteries can last a long time. Samsung is the best in this regard, their chargers are really smart and work hard to preserve battery life.
That said, I do personally wish there were some sort of "minimum repairability" that would potentially put limits on how thin something can be if that made repair much more difficult, but that's a bit of a side-issue to "right to repair" for me.