I have solved the same issue on many bikes by:
1: I install a new plug
2: Remove and remount the exhaust. Nine out of ten times a slight leak at the header opens up at higher speed dropping back pressure and killing the revs. It feels as if you run out of gas but once bike is brought back to idle, you can start riding again until pressure builds then drops off.
3: Increase your variator weights