Lenders and investors are getting choosier about their bets and demanding stricter terms as the AI build-out enters a new phase.