India has successfully tested a futuristic weapon for the first time by using high-powered laser-based directed energy to shoot down a drone.