UnitedHealth Group on Tuesday posted third-quarter earnings that blew past estimates and raised its full-year profit outlook, as the company continues to manage high medical costs and sees investments in value-based care and artificial intelligence take hold.