A man has been sentenced to prison for fraudulently making $8 million from streams of his AI music.