Trump escalated his friction with the military, saying its leaders ‘want to do nothing but fight wars’ so weapon makers can be ‘happy’