I'm not up-to-date on the latest and greatest in batteries, but I think a person would have a hard time carrying the energy supply for a laser weapon that is comparable in effectiveness to the many forms of relatively compact guns in their many forms, whether we're discussing anti-air, anti-tank, or anti-personnel.
This is the navy trying to be able to deal with the asymmetry of a battle field in which the most credible threats are swarms of cheap drones. Consider that there are navy ships where the cheapest weapon on-board costs $0.75 million per shot, and it's not surprising that this would be exciting for them.
But sure, lasers I guess.
It's not all that much fun being downrange from somebody shooting at airborne geese from a blind a couple hundred yards off, I can tell you...
I'm also suspicious of the range of any laser based technology. Atmosphere seems to attenuate it pretty quick. I remember reading in 2007 on slashdot theoretical solutions that shoot some kind of hollow cylinder shaped beam that ionizes the air in the hollow center, allowing a laser to go further before being attenuated.
They must have made some physical advancements far beyond my reading, since birdshot just seems easier.