"Mercedes' Formula 1 engine has hit a landmark achievement on the dyno at the team's Brixworth factory after breaking the 50% thermal efficiency barrier for the first time. "
It depends on the auxiliary components which are added for racing engines such turbochargers, supercharges ...etc. The design and manufacture are independent of cost issues.