Your friend has stated a boundary, a guideline for himself to make sure he is taking care of himself, though I can see why you'd see it as an 'ultimatum'.
You don't have to do anything about it, you don't even have to respond. All of our choices have consequences, I think your friend is just letting you know that he isn't going to put anymore time and effort into the relationship as it stands. It's his right.