Bmw 745i e65 goes out immediately and starts every now and then!

Hello, I have a bmw e65 745i us. Slowly I am really at the end have thousands of euro already plugged in and now I still have no rest.. my car just goes off. I turn it on and sec later it goes out as if one of itself. Sometimes it starts and remains however rather rare. If it goes out then error messages like: drive-off program only in 3 and 5 possible, dtc failed. And now he doesn’t want to start at all. Only ignition goes on and no clacking nothing. Only under the car you hear what is working pretty close to the end pot when the ignition is on ?? I have read it also of course either he failed or no more. Except the error “undervoltage” that shows the car always. Since about 3 years. Lief however always best. Battery was also changed on thoughtfully. Successless. The car was once a week and after 1 week I didn’t think about it. I didn’t want to test it again.