Donald Trump's speech at the Pennsylvania Defense and Innovation Summit sparked criticism as he boasted about investment pledges, prompting online detractors to question his presidential legacy.