The Pentagon is investigating how classified U.S. and NATO plans to help Ukraine's military ended up on social media.