But "being at an unsafe temperature" is not integral to coffee being coffee(or good). A marshmallow is not being served in an unnecessarily(and unconventionally) unsafe way. If you bought a superheated marshmallow you could get hurt too.
If you define 'unsafe' as capable of causing third degree burns, it actually is integral. McDonald's could have served significantly cooler coffee, but it still would have been capable of such burns.