With an assist from A.I., President Trump offers a window into how he wants to be seen — and, critics say, a barometer of his mental state.