First, funding for basic research will continue. The military is probably the most fiscally irresponsible entities on the planet, and so labs claim military application for snail poop. The research money is not significant compared to the entire budget, and some of these things might work, so funding continues and labs continue to do work that will produce nice technology, but for the most part not useful to the military.
Second, the military just everyone else is obsessed with the science fiction possibilities of lasers. This, however, brings up what the real application of lasers are, and why they are used in space opera instead of projectiles. Lasers don't have recoil, so precious propellent is not wasted to provide opposing momentum. Laser cannot be seen before they reach their target, so there is no option for countermeasures prior to being hit. The mean free path in space, even in LEO, is measured in kilometers, light years for deep space, so dispersion is not a problem. Spacecraft can be expected to travel along a predictable path, so one can expect 100 milliseconds to hit the same spot and do damage.
So lasers are useful in space, and the only fiction that exists is the magical power source that provides the endless lasing in a ship no bigger than a caddy or a gun no bigger than an old brick cell phone.
But what are the benefits of more terrestrial warfare. Pretty much nothing near the surface of the earth. The one place it makes sense is in the arena of anti-ICBM defense, but only when we consider the possibility of a nation with a few ICBMs, and only able to launch one at a time. In such a scenario a single launch will be detected, confirmed, and tracked within about 300 seconds, not impossible. Once tracked, a fleet of high altitude laser house in large jets will target the laser and fire within 100 seconds. The speed of the lasers is important because once the ICBM ends boost phase and deploys the warheads, including decoys, it would be difficult to prevent collateral damage from the destroyed bits, if the warheads could be destroyed at all.
Even this realistic application is not yet feasible, and it's limited scope may make it unreasonable. We are taking 10s of billions of dollars to defend against North Korea.