Amid mounting concerns over China’s growing power, top Pentagon officials told Congress Thursday that U.S. forces must prepare for confrontation with Beijing in the coming years with major investments in modernized weaponry and enhanced foreign alliances.