Sounds almost like it is running on one cylinder. Does it have an aftermarket exhaust? At any rate, the dying is likely due to running out of fuel, which might be the fuel pump. The early Ninja 650s had fuel pump problems. There are ways to check the fuel pump and you might need to go to a dealer to get this test done.