R&D isn't the only place you can invest profits. Building some of the world's largest factories, filling them with equipment, and hiring employees to fill them, is not cheap upfront. It is an investment which should pay dividends.
Semi is likely at least a year away from any significant scaling.