"Should we treat tech and software engineering as a profit center?"
I can't answer this question, but here's some food for thought.:
All but one company which was founded the past 50 years and became a top 12 company by market cap treats it as a profit center.
ALT The world’s 12 most valuable companies as of July 2022, and whether software engineering is a profit center.