You’re at a time with high risk of laptop tragedies so repairability is an important factor. Framework will be cheaper/easier to repair yourself. However, if you have no interest in DIYing and instead have money to burn to pay for fixes (or a service plan), the mac would be a better option due to the Apple Stores everywhere. A typical repair place won’t have familiarity with framework (not that it’s particularly exotic) and can be a lot more hit or miss than Apple.
Also make sure you consider a few years down the line when it comes to batteries.