AFAIK . . . BMW is still using inline 6 engines
They actually produced working V6 engines for test purposes, but decided to abandon them, and they never went into regular production
Commercial trucks still use inline 6 diesel engines . . . it’s pretty much the standard